Sayari Labs Info API
The info API from Sayari Labs, for info.
The info API from Sayari Labs, for info.
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/sayari-labs:sayari-labs-info-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: Reference Info API
version: 1.0.0
servers:
- url: https://api.sayari.com
description: Production
- url: https://api.internal.sayari.com
description: Dev
- url: https://api.uk.sayari.com
description: Production_UK
tags:
- name: Info
paths:
/v1/usage:
get:
operationId: info_getUsage
summary: Get Usage
description: The usage endpoint provides a simple interface to retrieve information on usage made by your API account. This includes both views per API path and credits consumed. The time period for the usage query is also specified in the response and whether or not this includes total usage.
tags:
- Info
parameters:
- name: from
in: query
description: An ISO 8601 encoded date string indicating the starting time period to obtain usage stats. In the format YYYY-MM-DD
required: false
schema:
type: string
format: date
- name: to
in: query
description: An ISO 8601 encoded date string indicating the ending time period to obtain usage stats. In the format YYYY-MM-DD
required: false
schema:
type: string
format: date
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/info_UsageResponse'
'400':
description: Error response with status 400
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_BadRequestResponse'
'401':
description: Error response with status 401
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_UnauthorizedResponse'
'404':
description: Error response with status 404
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_NotFoundResponse'
'429':
description: Error response with status 429
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_RateLimitResponse'
'500':
description: Error response with status 500
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_InternalServerErrorResponse'
security:
- OAuthScheme: []
/v1/history:
get:
operationId: info_getHistory
summary: Get History
description: The history endpoint return a user's event history.
tags:
- Info
parameters:
- name: events
in: query
description: The type of events to filter on.
required: false
schema:
type: string
- name: from
in: query
description: An ISO 8601 encoded date string indicating the starting time period for the events. In the format YYYY-MM-DD
required: false
schema:
type: string
format: date
- name: to
in: query
description: An ISO 8601 encoded date string indicating the ending time period for the events. In the format YYYY-MM-DD
required: false
schema:
type: string
format: date
- name: size
in: query
description: Size to limit number of events returned
required: false
schema:
type: integer
- name: token
in: query
description: Pagination token to retrieve the next page of results
required: false
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/info_HistoryResponse'
'400':
description: Error response with status 400
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_BadRequestResponse'
'401':
description: Error response with status 401
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_UnauthorizedResponse'
'404':
description: Error response with status 404
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_NotFoundResponse'
'429':
description: Error response with status 429
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_RateLimitResponse'
'500':
description: Error response with status 500
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_InternalServerErrorResponse'
security:
- OAuthScheme: []
components:
schemas:
sharedErrors_InternalServerErrorResponse:
description: Any type
title: InternalServerErrorResponse
info_HistoryInfo:
type: object
properties:
user:
type: string
environment:
type: string
event:
type: string
data:
$ref: '#/components/schemas/info_EventInfo'
timestamp:
type: string
required:
- user
- environment
- event
- data
- timestamp
title: HistoryInfo
info_UsageResponse:
type: object
properties:
usage:
$ref: '#/components/schemas/info_UsageInfo'
description: Usage information for each endpoint
from:
type: string
description: The start date of the returned usage information.
to:
type: string
description: The end date of the returned usage information.
required:
- usage
- from
- to
title: UsageResponse
sharedErrors_RateLimitResponse:
description: Any type
title: RateLimitResponse
sharedErrors_NotFoundResponse:
type: object
properties:
status:
type: integer
message:
type: array
items:
type: string
success:
type: boolean
required:
- status
- message
- success
description: Request made with an unsupported HTTP method.
title: NotFoundResponse
info_UsageInfo:
type: object
properties:
entity:
type: integer
record:
type: integer
resolve:
type: integer
search:
type: integer
trade_traversal:
type: integer
traversal:
type: integer
title: UsageInfo
sharedErrors_BadRequestResponse:
description: Any type
title: BadRequestResponse
info_HistoryResponse:
type: object
properties:
size:
type: integer
next_token:
type: string
events:
type: array
items:
$ref: '#/components/schemas/info_HistoryInfo'
required:
- size
- next_token
- events
title: HistoryResponse
sharedErrors_UnauthorizedResponse:
description: Any type
title: UnauthorizedResponse
info_EventInfo:
type: object
additionalProperties:
description: Any type
description: A map of fields appearing in the audit logs for this event
title: EventInfo
securitySchemes:
OAuthScheme:
type: http
scheme: bearer
description: OAuth 2.0 authentication