Vaaya Crw API

The crw API from Vaaya, for crw.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 7

POST /api/run/crw/scrape crw/scrape #
POST /api/run/crw/map crw/map #
POST /api/run/crw/crawl crw/crawl #
POST /api/run/crw/crawl_status crw/crawl_status #
POST /api/run/crw/extract crw/extract #
POST /api/run/crw/extract_status crw/extract_status #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/vaaya-ai:vaaya-ai-crw-api"
All apis
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.

Get an API 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 Specification

vaaya-ai-crw-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vaaya Crw 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: crw
paths:
  /api/run/crw/scrape:
    post:
      operationId: crw_scrape
      summary: crw/scrape
      description: CRW — Scrape a single URL to clean markdown/HTML/JSON (Firecrawl-compatible). Pass `url`; optional `formats` (markdown|html|rawHtml|plainText|links|json|summary|screenshot, default markdown), `onlyMainContent` (default true), `renderJs` (null = auto-detect), `waitFor` (ms), `stealth` (anti-bot browser), `country` (2-letter proxy egress), `jsonSchema` (structured output). Sync — returns the scraped content directly. Cheapest full-featured scrape rung.
      tags:
      - crw
      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:
                url:
                  type: string
                  format: uri
                formats:
                  type: array
                  items:
                    type: string
                onlyMainContent:
                  type: boolean
                renderJs:
                  type:
                  - boolean
                  - 'null'
                waitFor:
                  type: integer
                  minimum: 0
                stealth:
                  type: boolean
                country:
                  type: string
                  minLength: 2
                  maxLength: 2
                jsonSchema:
                  type: object
                  additionalProperties: {}
              required:
              - url
              additionalProperties: true
      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/crw/search:
    post:
      operationId: crw_search
      summary: crw/search
      description: 'CRW — Search the web and optionally scrape the hits in one call. Pass `query`; optional `limit` (1-20, default 5), `tbs` (freshness: qdr:h|d|w|m|y), `sources` (web|news|images), `lang`, and `scrapeOptions` ({ formats, onlyMainContent }) to return full page content per hit instead of snippets.'
      tags:
      - crw
      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:
                query:
                  type: string
                  minLength: 1
                  maxLength: 2000
                limit:
                  type: integer
                  minimum: 1
                  maximum: 20
                tbs:
                  type: string
                  enum:
                  - qdr:h
                  - qdr:d
                  - qdr:w
                  - qdr:m
                  - qdr:y
                sources:
                  type: array
                  items:
                    type: string
                    enum:
                    - web
                    - news
                    - images
                lang:
                  type: string
                  minLength: 2
                  maxLength: 5
                scrapeOptions:
                  type: object
                  additionalProperties: {}
              required:
              - query
              additionalProperties: true
      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/crw/map:
    post:
      operationId: crw_map
      summary: crw/map
      description: CRW — Discover the URLs of a website without scraping content (sitemap + crawl fallback). Pass `url`; optional `maxDepth`, `useSitemap` (default true), `timeout` (seconds, default 120). Recon step before targeted crw/scrape or crw/crawl.
      tags:
      - crw
      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:
                url:
                  type: string
                  format: uri
                maxDepth:
                  type: integer
                  minimum: 0
                useSitemap:
                  type: boolean
                timeout:
                  type: integer
                  exclusiveMinimum: 0
              required:
              - url
              additionalProperties: true
      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/crw/crawl:
    post:
      operationId: crw_crawl
      summary: crw/crawl
      description: CRW — Start an ASYNC multi-page crawl from a seed URL, following links. Pass `url`; optional `maxPages` (1-100, default 100 — vendor bills 1 credit/page so keep it tight), `maxDepth` (default 2), `formats`, `onlyMainContent`, `renderJs`. Returns `{ id }` immediately; KEEP POLLING `crw/crawl_status` with that id until status is completed/failed. One price covers the whole job.
      tags:
      - crw
      security:
      - bearerAuth: []
      - {}
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.100000'
        protocols:
        - x402: {}
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                maxPages:
                  type: integer
                  minimum: 1
                  maximum: 100
                maxDepth:
                  type: integer
                  minimum: 0
                formats:
                  type: array
                  items:
                    type: string
                onlyMainContent:
                  type: boolean
                renderJs:
                  type:
                  - boolean
                  - 'null'
              required:
              - url
              additionalProperties: true
      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/crw/crawl_status:
    post:
      operationId: crw_crawl_status
      summary: crw/crawl_status
      description: 'CRW — Poll an async crawl started by crw/crawl. Pass `id` (from the crawl response). Returns `{ status: scraping|completed|failed|cancelled, completed, total, data }` — `data` holds the scraped pages once completed. Poll every few seconds until status leaves `scraping`.'
      tags:
      - crw
      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:
                id:
                  type: string
                  minLength: 1
              required:
              - id
              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/crw/extract:
    post:
      operationId: crw_extract
      summary: crw/extract
      description: 'CRW — Structured extraction over up to 10 URLs using an LLM. Pass `urls` plus `prompt` (natural language) and/or `schema` (JSON schema); optional `basis: true` for per-field source evidence. Usually returns the extracted objects INLINE and already complete: `{ results: [{ url, status: completed, data }] }` — read `data` directly, do not poll. The extracted object may be nested one level (`data.data`) on multi-URL calls; unwrap defensively. If a call instead returns `{ id, status: processing }`, poll `crw/extract_status` with that id.'
      tags:
      - crw
      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:
                urls:
                  type: array
                  items:
                    type: string
                    format: uri
                  minItems: 1
                  maxItems: 10
                prompt:
                  type: string
                  minLength: 1
                schema:
                  type: object
                  additionalProperties: {}
                basis:
                  type: boolean
              required:
              - urls
              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/crw/extract_status:
    post:
      operationId: crw_extract_status
      summary: crw/extract_status
      description: 'CRW — Poll an async extraction started by crw/extract, on the rare occasions it returns an `id` instead of inline results. Pass `id`. Returns `{ status: processing|completed|failed|cancelled, results: [{ url, status, data, error }] }` — `data` holds the extracted object per URL once completed. Only call this if crw/extract actually handed you an `id`; it normally does not.'
      tags:
      - crw
      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:
                id:
                  type: string
                  minLength: 1
              required:
              - id
              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