Vaaya Vaaya API
The vaaya API from Vaaya, for vaaya.
The vaaya API from Vaaya, for vaaya.
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/vaaya-ai:vaaya-ai-vaaya-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: Vaaya API
version: 1.0.0
description: 'Call paid services through Vaaya with one API key, or pay per call with no account. This specification covers the actions sold keyless: fixed-price actions over x402 (USDC on Base) and, where listed, MPP (Tempo charge, USDC.e), plus the MPP-only Hotel Lobby video job. Use GET /api/run for all actions, including free and variable-price services. Read the schema guide at https://vaaya.ai/docs/reference/openapi.'
x-guidance: 'Send a JSON body to POST /api/run/{service}/{action}. Use Authorization: Bearer vaaya_sk_... for account payments. GET the same URL first to read its current inputs and price. Pass max_cost_cents to limit spending. Keyless: POST unpaid and pay the 402 — x402 (USDC on Base) or MPP (WWW-Authenticate: Payment, Tempo charge) as each operation lists. Hotel Lobby (POST /api/run/colors/generate) is MPP-only and asynchronous: the paid response returns a job and a free status_url; see https://vaaya.ai/mpp/llms.txt. GET /api/run lists the complete catalog. MCP tools and their input schemas are at https://vaaya.ai/llms-full.txt.'
contact:
name: Vaaya Support
email: support@vaaya.ai
url: https://vaaya.ai/docs
termsOfService: https://vaaya.ai/terms
license:
name: Proprietary
url: https://vaaya.ai/terms
x-api-versioning: URL path versioning. Stable endpoints are namespaced under /api/v1/. The catalog runner /api/run/{service}/{action} is additive-only; any breaking change ships under a new version prefix (/api/v2/) and the old surface stays until its sunset date.
x-deprecation-policy: 'A retiring endpoint returns `Deprecation: true` (RFC 9745) and a `Sunset: <HTTP-date>` (RFC 8594) header for at least 90 days before removal, with a `Link: <...>; rel="successor-version"` pointer to the replacement.'
x-rate-limits: Every response carries the IETF RateLimit headers (RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset in seconds, and RateLimit-Policy) so agents can self-throttle. On 429 honour Retry-After before retrying. Separate limits also apply to agent signup (per source IP, per hour) and to concurrent in-flight calls per account.
servers:
- url: https://vaaya.ai
description: Production
tags:
- name: vaaya
paths:
/api/run/vaaya/consult:
post:
operationId: vaaya_consult
summary: vaaya/consult
description: 'Vaaya — one paid endpoint for agents. Describe any goal in plain English and get back the exact Vaaya calls to run: image & video generation, product-demo videos, web search & scraping, deep & market research, GTM lead enrichment & outreach, code sandboxes, browser automation, email, and persistent memory. Returns ready-to-run { service, action, params } calls with prices — then POST each to /api/run/{service}/{action}. Pay-per-call in USDC on Base (x402), no account or API key.'
tags:
- vaaya
security:
- bearerAuth: []
- {}
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.010000'
protocols:
- x402: {}
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
intent:
type: string
minLength: 1
maxLength: 2000
required:
- intent
additionalProperties: false
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
const: true
data:
description: Service-specific result payload
charged_cents:
type: integer
description: Price charged for this call, in cents
balance_remaining_cents:
type: integer
description: Account balance left after this call, in cents (bearer auth only)
transaction_id:
type: string
required:
- ok
- data
- charged_cents
'400':
description: Bad request — malformed body or params that failed schema validation
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid bearer token (Vaaya API key or OAuth access token)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'Payment Required (x402: USDC on Base; no account needed)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — retry after the interval in the Retry-After header
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal or upstream provider error — the call was not charged
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/run/vaaya/fetch:
post:
operationId: vaaya_fetch
summary: vaaya/fetch
description: Vaaya — fetch any public https URL and, when it answers 402 with an x402 or MPP payment challenge, pay it from your balance (up to your max_cost_cents) and return the resource. A URL that serves without payment comes back at 0¢. Pass { url, method?, headers?, body? }. Hard cap $5 per call; you pay the merchant's actual settle. Private, internal and Vaaya hosts are refused.
tags:
- vaaya
security:
- bearerAuth: []
- {}
x-payment-info:
price:
mode: fixed
currency: USD
amount: '5.000000'
protocols:
- x402: {}
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
url:
type: string
minLength: 8
maxLength: 2000
method:
type: string
enum:
- GET
- POST
- PUT
- PATCH
- DELETE
default: GET
headers:
type: object
additionalProperties:
type: string
maxLength: 4000
propertyNames:
minLength: 1
maxLength: 100
body: {}
required:
- url
additionalProperties: false
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
const: true
data:
description: Service-specific result payload
charged_cents:
type: integer
description: Price charged for this call, in cents
balance_remaining_cents:
type: integer
description: Account balance left after this call, in cents (bearer auth only)
transaction_id:
type: string
required:
- ok
- data
- charged_cents
'400':
description: Bad request — malformed body or params that failed schema validation
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid bearer token (Vaaya API key or OAuth access token)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'Payment Required (x402: USDC on Base; no account needed)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — retry after the interval in the Retry-After header
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal or upstream provider error — the call was not charged
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/run/vaaya/onesearch:
post:
operationId: vaaya_onesearch
summary: vaaya/onesearch
description: 'Vaaya OneSearch: answer a question with cited evidence, in one call. Pass `query` in plain English; an intent classifier picks the facets, races independent indexes when the question is time-critical, and fetches full page content when fidelity matters. Returns `evidence`, each item with url, title, snippet, optional full `content`, `source` (vendor/action) and the `tx_id` it came from. To route it yourself, add any of: `facets` (one or more of web, docs, news, academic, code, public-filings, funding, financials, legal, nonprofits, regulatory, compliance; default ["web"]), `timeCritical`, `fidelityRequired` (docs come back as complete markdown, never summarized), `recencyDays`, `domains` / `excludeDomains`, `urls` (skip search and extract these), `asOf` (YYYYMMDD, Wayback copy), `maxResults`. Flat 5¢ per call; the internal source calls are included. Not charged when every source failed. For people use onefind; for pages you already have use the scraping vendors.'
tags:
- vaaya
security:
- bearerAuth: []
- {}
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.050000'
protocols:
- x402: {}
- mpp:
method: tempo
intent: charge
currency: '0x20C000000000000000000000b9537d11c60E8b50'
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
minLength: 1
maxLength: 2000
facets:
type: array
items:
type: string
enum:
- web
- docs
- news
- academic
- code
- public-filings
- compliance
- funding
- financials
- legal
- nonprofits
- regulatory
- scrape
- scrape-hard
- social
minItems: 1
maxItems: 15
default:
- web
timeCritical:
type: boolean
fidelityRequired:
type: boolean
recencyDays:
type: integer
minimum: 1
maximum: 3650
domains:
type: array
items:
type: string
minLength: 1
maxItems: 10
excludeDomains:
type: array
items:
type: string
minLength: 1
maxItems: 10
urls:
type: array
items:
type: string
format: uri
minItems: 1
maxItems: 5
asOf:
type: string
pattern: ^\d{4,14}$
maxResults:
type: integer
minimum: 1
maximum: 25
platform:
type: string
enum:
- tiktok
- instagram
- youtube
- twitter
- weibo
- reddit
budgetCents:
type: integer
minimum: 1
maximum: 4
required:
- query
additionalProperties: false
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
const: true
data:
description: Service-specific result payload
charged_cents:
type: integer
description: Price charged for this call, in cents
balance_remaining_cents:
type: integer
description: Account balance left after this call, in cents (bearer auth only)
transaction_id:
type: string
required:
- ok
- data
- charged_cents
'400':
description: Bad request — malformed body or params that failed schema validation
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid bearer token (Vaaya API key or OAuth access token)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'Payment Required (x402: USDC on Base or MPP: USDC.e on Tempo; no account needed)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — retry after the interval in the Retry-After header
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal or upstream provider error — the call was not charged
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/run/vaaya/supersearch:
post:
operationId: vaaya_supersearch
summary: vaaya/supersearch
description: Deprecated alias of vaaya/onesearch. Same inputs, same flat 5¢. Call onesearch instead.
tags:
- vaaya
security:
- bearerAuth: []
- {}
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.050000'
protocols:
- x402: {}
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
minLength: 1
maxLength: 2000
facets:
type: array
items:
type: string
enum:
- web
- docs
- news
- academic
- code
- public-filings
- compliance
- funding
- financials
- legal
- nonprofits
- regulatory
- scrape
- scrape-hard
- social
minItems: 1
maxItems: 15
default:
- web
timeCritical:
type: boolean
fidelityRequired:
type: boolean
recencyDays:
type: integer
minimum: 1
maximum: 3650
domains:
type: array
items:
type: string
minLength: 1
maxItems: 10
excludeDomains:
type: array
items:
type: string
minLength: 1
maxItems: 10
urls:
type: array
items:
type: string
format: uri
minItems: 1
maxItems: 5
asOf:
type: string
pattern: ^\d{4,14}$
maxResults:
type: integer
minimum: 1
maximum: 25
platform:
type: string
enum:
- tiktok
- instagram
- youtube
- twitter
- weibo
- reddit
budgetCents:
type: integer
minimum: 1
maximum: 4
required:
- query
additionalProperties: false
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
const: true
data:
description: Service-specific result payload
charged_cents:
type: integer
description: Price charged for this call, in cents
balance_remaining_cents:
type: integer
description: Account balance left after this call, in cents (bearer auth only)
transaction_id:
type: string
required:
- ok
- data
- charged_cents
'400':
description: Bad request — malformed body or params that failed schema validation
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid bearer token (Vaaya API key or OAuth access token)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'Payment Required (x402: USDC on Base; no account needed)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — retry after the interval in the Retry-After header
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal or upstream provider error — the call was not charged
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/run/vaaya/onefind:
post:
operationId: vaaya_onefind
summary: vaaya/onefind
description: 'Vaaya OneFind: find people from a plain-English query, as rows. Pass `query`, either a description ("series A fintech founders in India", "heads of talent at Series B startups") for a table of people, or a name + company ("Jerry Liu LlamaIndex") for that one person (the response says which: `person: true/false`), plus optional `limit` (1–25, default 15). Returns `rows`, each with name, title, company, location, linkedin and per-field `sources`. Contact fields (email, phone) are null and `enriched: false`: this tier finds, it does not buy contact data. Flat 2¢ per call regardless of rows. To add emails/phones, call onefind-deep with the same query or with `rows: []` for the people you pick. For one known person (an email or LinkedIn URL), use onefind-deep directly; this call refuses identifiers without charging.'
tags:
- vaaya
security:
- bearerAuth: []
- {}
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.020000'
protocols:
- x402: {}
- mpp:
method: tempo
intent: charge
currency: '0x20C000000000000000000000b9537d11c60E8b50'
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
minLength: 2
maxLength: 500
limit:
type: integer
minimum: 1
maximum: 25
default: 15
required:
- query
additionalProperties: false
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
const: true
data:
description: Service-specific result payload
charged_cents:
type: integer
description: Price charged for this call, in cents
balance_remaining_cents:
type: integer
description: Account balance left after this call, in cents (bearer auth only)
transaction_id:
type: string
required:
- ok
- data
- charged_cents
'400':
description: Bad request — malformed body or params that failed schema validation
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid bearer token (Vaaya API key or OAuth access token)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'Payment Required (x402: USDC on Base or MPP: USDC.e on Tempo; no account needed)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — retry after the interval in the Retry-After header
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal or upstream provider error — the call was not charged
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/run/vaaya/cover-shot:
post:
operationId: vaaya_cover_shot
summary: vaaya/cover-shot
description: 'Vaaya Cover Shot: nine game-cover posters of one person (a cover collage, a hero poster and a loading screen, each in three settings) from 1 to 3 of their uploaded photos, with their own game title. Flat $5 a pack, paid from purchased credit; free if fewer than six posters come out. Params: `image_file_ids` (1 to 3 files/upload ids of the same person), `title` (up to 24 characters, no real game names), `consent: true` (the person in the photos agreed). Returns `{ title, images: [{ id, layout, setting, label, url }], made, charged_cents }`.'
tags:
- vaaya
security:
- bearerAuth: []
- {}
x-payment-info:
price:
mode: fixed
currency: USD
amount: '5.000000'
protocols:
- x402: {}
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
image_file_ids:
type: array
items:
type: string
minLength: 1
maxLength: 64
minItems: 1
maxItems: 3
title:
type: string
minLength: 1
maxLength: 80
consent:
type: boolean
const: true
required:
- image_file_ids
- title
- consent
additionalProperties: false
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
const: true
data:
description: Service-specific result payload
charged_cents:
type: integer
description: Price charged for this call, in cents
balance_remaining_cents:
type: integer
description: Account balance left after this call, in cents (bearer auth only)
transaction_id:
type: string
required:
- ok
- data
- charged_cents
'400':
description: Bad request — malformed body or params that failed schema validation
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid bearer token (Vaaya API key or OAuth access token)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'Payment Required (x402: USDC on Base; no account needed)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited — retry after the interval in the Retry-After header
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal or upstream provider error — the call was not charged
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
parameters:
IdempotencyKey:
name: Idempotency-Key
in: header
required: false
schema:
type: string
description: A unique value for this call. Send the same value when you retry an account (Bearer) call, so it runs and is charged once. Required for managed customer keys.
schemas:
Error:
type: object
properties:
error:
type: string
description: Stable, machine-readable error code
examples:
- invalid_token
- x402_not_sellable
- rate_limited
- insufficient_balance
- upstream_error
message:
type: string
description: Human-readable explanation
ok:
type: boolean
const: false
description: Present on envelope-shaped failures
data:
description: Partial/diagnostic payload, when available
required:
- error
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Vaaya API key (vaaya_sk_…, see https://vaaya.ai/api-keys) or OAuth access token (scope vaaya:pay)
externalDocs:
description: Read the API schema guide
url: https://vaaya.ai/docs/reference/openapi