Zaira Labs Search API
The Search API from Zaira Labs, for search.
The Search API from Zaira Labs, 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/zairalabs-ai:zairalabs-ai-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: Zaira Labs Search API
version: 1.0.0
description: 'Agent-ready developer tool guide. Search, filter, and compare tools evaluated against the Zaira Standard.
**Test mode.** The API is read-only — the production endpoint is the sandbox. Append `?test=true` to any read endpoint to mark a request as a dry-run from the caller''s perspective. The response shape is identical except `meta.testMode` is set to `true`, so integrations can verify request shape and response parsing without ambiguity. There is no separate sandbox URL or test credentials because none are needed.'
contact:
name: Zaira Labs
url: https://zairalabs.ai
servers:
- url: https://zairalabs.ai/guide/api/v1
tags:
- name: Search
paths:
/search:
get:
operationId: searchTools
x-risk-tier: read-only
summary: Full-text search across tools
description: 'Searches tool names, taglines, descriptions, use_when, avoid_when, best_for, and category. Returns paginated summary results ordered by relevance (best match first; name and tagline matches weigh heaviest).
Edge cases:
- The query is sanitized — FTS operators (AND, OR, NEAR, wildcards, column filters) are stripped. Plain alphanumeric terms work best.
- Query terms combine with AND — an entry is returned only when every term matches, so the core concept words match more than a long specific phrase. Zero-result responses include a `meta.hint` explaining how to broaden.
- Punctuation-only queries (e.g., `.*`, `...`) return 400 with a ''no searchable terms'' error.
- For structured filtering (by category, free tier, compliance, etc.), prefer GET /tools which accepts typed filter parameters.'
parameters:
- name: q
in: query
required: true
schema:
type: string
minLength: 1
maxLength: 200
example: serverless database
description: Search query (max 200 chars, alphanumeric tokens; terms combine with AND — every term must match)
- name: limit
in: query
schema:
type: integer
default: 20
minimum: 1
maximum: 100
description: Results per page (default 20, max 100)
- name: cursor
in: query
schema:
type: string
description: Pagination cursor from previous response's meta.nextCursor
responses:
'200':
description: Search results
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/ToolSummary'
meta:
allOf:
- $ref: '#/components/schemas/PaginatedMeta'
- type: object
properties:
query:
type: string
'400':
$ref: '#/components/responses/ValidationError'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
'504':
$ref: '#/components/responses/ServiceTimeout'
tags:
- Search
components:
schemas:
PaginatedMeta:
type: object
properties:
total:
type: integer
description: Total matching results across all pages
count:
type: integer
description: Number of results in this page
hasMore:
type: boolean
nextCursor:
type:
- string
- 'null'
description: Pass as cursor parameter to fetch the next page
apiVersion:
type: string
testMode:
type: boolean
description: Set to `true` when the request included `?test=true`. See BaseMeta.
hint:
type: string
description: Present only on zero-result responses. Explains how matching works — free-text terms and filters each combine with AND — and how to broaden the request. Absent whenever results were returned.
categoryReadAs:
type: string
description: 'Present when the `category` value was a known alias of a category (for example `hosting`, `cache`, `document-store`): the category slug it was read as. The results are that category''s entries.'
categorySuggestions:
type: array
items:
type: string
description: 'Present on a zero-result response whose `category` value is neither a category slug nor an alias: the category slugs it most likely meant.'
Problem:
type: object
description: Error response following RFC 9457 (Problem Details for HTTP APIs) with Zaira extensions for machine-actionable recovery.
required:
- type
- title
- status
- detail
- documentationUrl
- category
- is_retriable
- recovery
properties:
type:
type: string
format: uri
title:
type: string
status:
type: integer
detail:
type: string
documentationUrl:
type: string
format: uri
category:
type: string
enum:
- validation
- not_found
- rate_limit
- service_unavailable
- server_error
description: Abstract error family. Intentionally tech-agnostic so responses never signal the service's internal stack.
is_retriable:
type: boolean
description: True when the caller can safely retry the same request after a delay.
retry_after_seconds:
type: integer
description: Suggested delay before retrying, in seconds. Present when is_retriable is true. Mirrors the Retry-After header for rate-limit and service-unavailable responses.
recovery:
type: array
items:
type: string
description: Ordered, generic recovery steps the caller can take. Numbered/ordered by their position in the array.
errors:
type: array
description: Field-level validation issues (only present on validation errors).
items:
type: object
properties:
path:
type: string
message:
type: string
ToolSummary:
type: object
description: Lightweight tool record returned by list and search endpoints. Includes the cheapest fields needed to triage candidates without a follow-up call (constraint flags, agent-readiness tier).
properties:
slug:
type: string
name:
type: string
tagline:
type:
- string
- 'null'
category:
type:
- string
- 'null'
artifactKind:
type:
- string
- 'null'
enum:
- open_source
- managed_service
- null
pricingModel:
type:
- string
- 'null'
enum:
- free
- freemium
- paid
- null
hasFreeTier:
type:
- boolean
- 'null'
agentReadinessTier:
type:
- string
- 'null'
enum:
- base
- agent_ready
- agent_native
- none
- null
description: Snake-case canonical value. Display labels (e.g., 'Agent Ready') are formatted in renderers.
agentReadinessScore:
type:
- number
- 'null'
entryKind:
type: string
enum:
- tool
- library
- language
description: The kind of entry. A `library` or `language` row carries no pricing, deployment or agent-readiness values; GET /tools/{slug} returns its LibraryDetail or LanguageDetail.
responses:
RateLimited:
description: 'Rate limit exceeded. Two buckets per client IP: a global 60/min cap on all endpoints, plus a 20/min cap on expensive endpoints (/search, /compare, /tools/{slug}). Either bucket can trigger a 429. `Problem.is_retriable` is true; honor the Retry-After header.'
headers:
Retry-After:
schema:
type: integer
description: Seconds to wait before retrying
RateLimit-Limit:
schema:
type: integer
description: Maximum requests allowed per window
RateLimit-Policy:
schema:
type: string
description: Rate limit policy. On expensive endpoints includes both buckets, e.g. '60;w=60, 20;w=60'.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
ValidationError:
description: Request parameters failed validation. `Problem.errors` carries per-field issues (`path`, `message`); `Problem.recovery` points to the OpenAPI spec for valid values. Not retriable — caller should correct the request.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
ServerError:
description: Unexpected server error. `Problem.is_retriable` is true; retry after a brief delay. If persistent, narrow the request scope.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
ServiceTimeout:
description: Request exceeded the allowed processing time. `Problem.is_retriable` is true; retry after a brief delay. For free-text queries, try narrower terms.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
x-rateLimit:
buckets:
- scope: all endpoints
limit: 60
window: 60
unit: requests per minute per IP
- scope: expensive endpoints (/search, /compare, /tools/{slug})
limit: 20
window: 60
unit: requests per minute per IP
note: Consumed in addition to the global 60/min bucket.
description: Two rate-limit buckets keyed on client IP. A global cheap bucket caps overall request rate. An expensive bucket adds a tighter cap on full-text search, side-by-side comparison, and full tool-detail reads — these touch FTS or parse complete records. Responses include RateLimit-Limit and RateLimit-Policy headers; 429 responses also carry Retry-After.