Fetchai Search API
The search API from Fetchai, for search.
The search API from Fetchai, for search.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/fetchai:fetchai-search-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Fast Search API
version: 0.1.0
tags:
- name: Search
paths:
/v1/search/agents:
post:
tags:
- Search
summary: Search Agents
operationId: search_agent
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSearchRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSearchResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/search/agents/geo:
post:
tags:
- Search
summary: Search Agents Geo
operationId: search_agent_by_geolocation
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AgentGeoSearchRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSearchResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/search/agents/interactions/{address}:
get:
tags:
- Search
summary: Get Interaction Counts Of Agent
description: Retrieves interaction count histories and all-time interaction counts of the agent
operationId: get_agent_interactions
parameters:
- name: address
in: path
required: true
schema:
type: string
title: Address
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AgentInteractionCountsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/search/agents/click:
post:
tags:
- Search
summary: Mark Agent Clicked
operationId: agent_selected
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AgentClickedRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/search/functions:
post:
tags:
- Search
summary: Search Functions
operationId: search_functions
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FunctionSearchRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FunctionSearchResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/search/functions/interactions/{function_id}:
get:
tags:
- Search
summary: Get Recent Interactions Of Function
operationId: get_function_interactions
parameters:
- name: function_id
in: path
required: true
schema:
type: string
format: uuid4
title: Function Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/FunctionLast30daysInteractions'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/search/analytics/agents:
post:
tags:
- Search
summary: Get Agent Search Analytics
operationId: get_agent_searches_analytics
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSearchAnalyticsRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSearchAnalyticsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/search/analytics/agents/terms:
post:
tags:
- Search
summary: Get Agent Search Term Analytics
description: It provides data about the search terms that led to the agent in question (agent address in the payload).
operationId: get_agent_search_terms_analytics
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSearchTermAnalyticsRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AgentSearchTermAnalyticsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
AgentSearchAnalyticsRequest:
properties:
address:
type: string
title: Address
additionalProperties: false
type: object
required:
- address
title: AgentSearchAnalyticsRequest
description: The agent search analytics request object
FunctionSearchRequest:
properties:
filters:
$ref: '#/components/schemas/FunctionFilters'
default:
function_type: []
sort:
type: string
enum:
- relevancy
- created-at
- last-modified
- interactions
title: Sort
default: relevancy
direction:
type: string
enum:
- asc
- desc
title: Direction
default: asc
search_text:
anyOf:
- type: string
- type: 'null'
title: Search Text
offset:
type: integer
title: Offset
default: 0
limit:
type: integer
title: Limit
default: 30
additionalProperties: false
type: object
title: FunctionSearchRequest
description: The function search request object
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
FunctionFilters:
properties:
function_type:
items:
type: string
enum:
- function
- dialogue
- workflow
type: array
title: Function Type
additionalProperties: false
type: object
title: FunctionFilters
AgentInteractionCountsResponse:
properties:
address:
type: string
title: Address
interval:
items:
type: integer
type: array
maxItems: 30
minItems: 30
title: Interval
message:
items:
type: integer
type: array
maxItems: 30
minItems: 30
title: Message
total:
items:
type: integer
type: array
maxItems: 30
minItems: 30
title: Total
num_all_time_interactions:
$ref: '#/components/schemas/AgentAllTimeInteractionCounts'
type: object
required:
- address
- interval
- message
- total
- num_all_time_interactions
title: AgentInteractionCountsResponse
AgentSearchRequest:
properties:
filters:
$ref: '#/components/schemas/AgentFilters'
default:
state: []
category: []
agent_type: []
protocol_digest: []
sort:
type: string
enum:
- relevancy
- created-at
- last-modified
- interactions
title: Sort
default: relevancy
direction:
type: string
enum:
- asc
- desc
title: Direction
default: asc
search_text:
anyOf:
- type: string
- type: 'null'
title: Search Text
offset:
type: integer
title: Offset
default: 0
limit:
type: integer
title: Limit
default: 30
search_id:
type: string
format: uuid4
title: Search Id
source:
type: string
title: Source
default: ''
additionalProperties: false
type: object
title: AgentSearchRequest
description: The agent search request object
AgentGeoFilter:
properties:
latitude:
type: number
maximum: 90.0
minimum: -90.0
title: Latitude
longitude:
type: number
maximum: 180.0
minimum: -180.0
title: Longitude
radius:
type: number
exclusiveMinimum: 0.0
title: Radius
additionalProperties: false
type: object
required:
- latitude
- longitude
- radius
title: AgentGeoFilter
description: The geo filter that can be applied to the agent search
AgentSearchAnalyticsResponse:
properties:
address:
type: string
title: Address
num_searches:
type: integer
title: Num Searches
last_24h_num_searches:
type: integer
title: Last 24H Num Searches
last_30d_num_searches:
type: integer
title: Last 30D Num Searches
last_30d_history:
items:
type: integer
type: array
maxItems: 30
minItems: 30
title: Last 30D History
type: object
required:
- address
- num_searches
- last_24h_num_searches
- last_30d_num_searches
- last_30d_history
title: AgentSearchAnalyticsResponse
description: The agent search analytics response object
FunctionLast30daysInteractions:
properties:
function_id:
type: string
format: uuid4
title: Function Id
total:
items:
type: integer
type: array
title: Total
type: object
required:
- function_id
- total
title: FunctionLast30daysInteractions
Agent:
properties:
address:
type: string
title: Address
name:
type: string
title: Name
readme:
type: string
title: Readme
protocols:
items:
$ref: '#/components/schemas/Protocol'
type: array
title: Protocols
avatar_href:
anyOf:
- type: string
- type: 'null'
title: Avatar Href
total_interactions:
type: integer
title: Total Interactions
recent_interactions:
type: integer
title: Recent Interactions
rating:
anyOf:
- type: number
- type: 'null'
title: Rating
status:
type: string
enum:
- active
- inactive
title: Status
type:
type: string
enum:
- hosted
- local
- mailbox
title: Type
category:
type: string
enum:
- fetch-ai
- verified
- community
title: Category
featured:
type: boolean
title: Featured
default: false
geo_location:
anyOf:
- $ref: '#/components/schemas/AgentGeoLocation'
- type: 'null'
last_updated:
type: string
format: date-time
title: Last Updated
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- address
- name
- readme
- protocols
- avatar_href
- total_interactions
- recent_interactions
- rating
- status
- type
- category
- geo_location
- last_updated
- created_at
title: Agent
Function:
properties:
id:
type: string
format: uuid4
title: Id
type:
type: string
enum:
- function
- dialogue
- workflow
title: Type
name:
type: string
title: Name
agent:
type: string
title: Agent
description:
type: string
title: Description
is_primary:
type: boolean
title: Is Primary
groups:
items:
type: string
type: array
title: Groups
total_interactions:
type: integer
title: Total Interactions
recent_interactions:
type: integer
title: Recent Interactions
rating:
anyOf:
- type: number
- type: 'null'
title: Rating
featured:
type: boolean
title: Featured
default: false
last_updated:
type: string
format: date-time
title: Last Updated
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- id
- type
- name
- agent
- description
- is_primary
- total_interactions
- recent_interactions
- rating
- last_updated
- created_at
title: Function
SearchTermPercentage:
properties:
term:
type: string
title: Term
last_24h_percentage:
type: number
maximum: 100.0
minimum: 0.0
title: Last 24H Percentage
last_7d_percentage:
type: number
maximum: 100.0
minimum: 0.0
title: Last 7D Percentage
last_30d_percentage:
type: number
maximum: 100.0
minimum: 0.0
title: Last 30D Percentage
type: object
required:
- term
- last_24h_percentage
- last_7d_percentage
- last_30d_percentage
title: SearchTermPercentage
description: Percentage of searches when the agent was retrieved using this search term
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
AgentFilters:
properties:
state:
items:
type: string
enum:
- active
- inactive
type: array
title: State
category:
items:
type: string
enum:
- fetch-ai
- verified
- community
type: array
title: Category
agent_type:
items:
type: string
enum:
- hosted
- local
- mailbox
type: array
title: Agent Type
protocol_digest:
items:
type: string
type: array
title: Protocol Digest
additionalProperties: false
type: object
title: AgentFilters
description: The set of filters that should be applied to the agent search entries
AgentSearchTermAnalyticsRequest:
properties:
address:
type: string
title: Address
top:
type: integer
maximum: 100.0
title: Top
description: How many of the top mostly used search terms we want to retrieve analytics for
default: 10
additionalProperties: false
type: object
required:
- address
title: AgentSearchTermAnalyticsRequest
description: The agent search term analytics request object
AgentSearchResponse:
properties:
agents:
items:
$ref: '#/components/schemas/Agent'
type: array
title: Agents
offset:
type: integer
title: Offset
limit:
type: integer
title: Limit
num_hits:
type: integer
title: Num Hits
total:
type: integer
title: Total
search_id:
type: string
format: uuid4
title: Search Id
type: object
required:
- offset
- limit
- num_hits
- total
- search_id
title: AgentSearchResponse
FunctionSearchResponse:
properties:
functions:
items:
$ref: '#/components/schemas/Function'
type: array
title: Functions
offset:
type: integer
title: Offset
limit:
type: integer
title: Limit
num_hits:
type: integer
title: Num Hits
total:
type: integer
title: Total
type: object
required:
- offset
- limit
- num_hits
- total
title: FunctionSearchResponse
AgentGeoLocation:
properties:
latitude:
type: number
title: Latitude
longitude:
type: number
title: Longitude
radius:
type: number
title: Radius
default: 0
type: object
required:
- latitude
- longitude
title: AgentGeoLocation
AgentAllTimeInteractionCounts:
properties:
interval:
type: integer
minimum: 0.0
title: Interval
message:
type: integer
minimum: 0.0
title: Message
total:
type: integer
minimum: 0.0
title: Total
type: object
required:
- interval
- message
- total
title: AgentAllTimeInteractionCounts
AgentGeoSearchRequest:
properties:
filters:
$ref: '#/components/schemas/AgentFilters'
default:
state: []
category: []
agent_type: []
protocol_digest: []
sort:
type: string
enum:
- relevancy
- created-at
- last-modified
- interactions
title: Sort
default: relevancy
direction:
type: string
enum:
- asc
- desc
title: Direction
default: asc
search_text:
anyOf:
- type: string
- type: 'null'
title: Search Text
offset:
type: integer
title: Offset
default: 0
limit:
type: integer
title: Limit
default: 30
geo_filter:
$ref: '#/components/schemas/AgentGeoFilter'
search_id:
type: string
format: uuid4
title: Search Id
source:
type: string
title: Source
default: ''
additionalProperties: false
type: object
required:
- geo_filter
title: AgentGeoSearchRequest
description: The agent geo search request object
AgentSearchTermAnalyticsResponse:
properties:
address:
type: string
title: Address
term_percentages:
items:
$ref: '#/components/schemas/SearchTermPercentage'
type: array
title: Term Percentages
type: object
required:
- address
- term_percentages
title: AgentSearchTermAnalyticsResponse
description: The agent search term analytics response object
AgentClickedRequest:
properties:
search_id:
type: string
format: uuid4
title: Search Id
page_index:
type: integer
minimum: 0.0
title: Page Index
address:
type: string
title: Address
type: object
required:
- search_id
- page_index
- address
title: AgentClickedRequest
Protocol:
properties:
name:
type: string
title: Name
version:
type: string
title: Version
digest:
type: string
title: Digest
type: object
required:
- name
- version
- digest
title: Protocol