Skip to main content
POST
https://api.kanarie.xyz
/
api
/
v1
/
content
/
search
curl --request POST \
  --url https://api.kanarie.xyz/api/v1/content/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "search_mode": "semantic",
  "query": "latest DeFi trends on Solana",
  "content_types": [
    "posts",
    "tweets",
    "news"
  ],
  "ecosystems": [
    "solana"
  ],
  "limit": 10,
  "include_analysis": true
}
'
{
  "success": true,
  "error": null,
  "content": [
    {
      "title": "DeFi TVL hits new highs",
      "summary": "Example content item",
      "source_name": "twitter"
    }
  ],
  "metadata": {
    "total_results": 1,
    "limit": 10
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.kanarie.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:YOUR_KANARIE_API_KEY
required

Preferred Kanarie API key authentication using Authorization: Bearer .

Body

application/json
search_mode
enum<string>
default:auto
Available options:
recent,
semantic,
auto
query
string

Required when search_mode is semantic or auto.

content_types
enum<string>[]
Available options:
posts,
news,
developments,
memories,
concepts,
tweets,
youtube
limit
integer
default:25
Required range: 1 <= x <= 100
days_back
integer
default:7
Required range: 1 <= x <= 90
sort_by
enum<string>
default:relevance
Available options:
date,
relevance
minimum_relevance_score
number
default:0.2
Required range: 0 <= x <= 1
ecosystems
string[]
Maximum array length: 5
Example:
["solana"]
categories
string[]
Maximum array length: 5
Example:
["defi"]
project_ids
integer[]
Maximum array length: 25
image_limit
integer
Required range: 1 <= x <= 10
include_analysis
boolean
default:false
snippet_limit
integer | null
Required range: 1 <= x <= 5
scope
enum<string>[]
Available options:
agent,
swarm,
droyd

Response

Content search results.

success
boolean
required
error
string | null
required
content
object[]
required
analysis
object
metadata
object