Xcatcher Direct x402 API

The Direct x402 API from Xcatcher — 4 operation(s) for direct x402.

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 4

POST /api/v1/x402/crawl Get a payment challenge or submit payment and create an accountless crawl #
GET /api/v1/x402/tasks/{task_id} Get a paid accountless task #
GET /api/v1/x402/tasks/{task_id}/results Get structured paid-task results #
GET /api/v1/x402/tasks/{task_id}/download Download paid-task XLSX #

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/xcatcher-top:xcatcher-top-direct-x402-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

xcatcher-top-direct-x402-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Xcatcher Agent Direct x402 API
  version: 3.1.0
  description: 'Fetch recent public X (Twitter) posts from named handles. Agents can use

    accountless x402 v2 pay-per-crawl on Base or an API-key points account.

    Live responses and payment headers are authoritative.'
  contact:
    url: https://xcatcher.top/docs/
  x-agent-skill: https://xcatcher.top/skills/xcatcher/SKILL.md
  x-cdp-bazaar-validation-resource: https://xcatcher.top/api/v1/x402/crawl?users=openai&mode=normal
  x-discovery-metadata: https://xcatcher.top/discovery-metadata.json
  x-attribution:
    optional-source-header: X-Xcatcher-Source
    optional-client-header: X-Xcatcher-Client-ID
    privacy: Categorical events only; raw values are not logged. See https://xcatcher.top/privacy/.
servers:
- url: https://xcatcher.top
tags:
- name: Direct x402
paths:
  /api/v1/x402/crawl:
    post:
      tags:
      - Direct x402
      operationId: directX402Crawl
      summary: Get a payment challenge or submit payment and create an accountless crawl
      description: Without PAYMENT-SIGNATURE returns 402. With a valid x402 v2 exact EIP-3009 signature, settles once and returns task-scoped access.
      parameters:
      - name: users
        in: query
        required: false
        description: Optional repeated or comma-separated handle fallback when a validator/client cannot send a JSON body. JSON users take precedence.
        schema:
          type: array
          items:
            type: string
        style: form
        explode: true
      - name: mode
        in: query
        required: false
        description: Optional mode fallback used only when JSON body is absent.
        schema:
          type: string
          enum:
          - normal
          - deep
          default: normal
      security:
      - {}
      - PaymentSignature: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CrawlRequest'
      responses:
        '201':
          description: Payment settled and task created or recovered
          headers:
            PAYMENT-RESPONSE:
              $ref: '#/components/headers/PaymentResponse'
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnyJson'
        '402':
          description: x402 v2 payment challenge or unsuccessful settlement
          headers:
            PAYMENT-REQUIRED:
              $ref: '#/components/headers/PaymentRequired'
            PAYMENT-RESPONSE:
              $ref: '#/components/headers/PaymentResponse'
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentRequired'
        '409':
          description: Quote/signature/request mismatch
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/x402/tasks/{task_id}:
    get:
      tags:
      - Direct x402
      operationId: getDirectTask
      summary: Get a paid accountless task
      security:
      - TaskToken: []
      parameters:
      - $ref: '#/components/parameters/TaskId'
      responses:
        '200':
          description: Task state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnyJson'
        '401':
          description: Invalid or expired task token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/x402/tasks/{task_id}/results:
    get:
      tags:
      - Direct x402
      operationId: getDirectResults
      summary: Get structured paid-task results
      security:
      - TaskToken: []
      parameters:
      - $ref: '#/components/parameters/TaskId'
      - $ref: '#/components/parameters/ResultLimit'
      - $ref: '#/components/parameters/ResultOffset'
      responses:
        '200':
          description: Result page
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultPage'
        '401':
          description: Invalid or expired task token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Result not ready
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/x402/tasks/{task_id}/download:
    get:
      tags:
      - Direct x402
      operationId: downloadDirectResult
      summary: Download paid-task XLSX
      security:
      - TaskToken: []
      parameters:
      - $ref: '#/components/parameters/TaskId'
      responses:
        '200':
          description: XLSX stream
          content:
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: string
                format: binary
        '401':
          description: Invalid or expired task token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Result not ready
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PaymentRequired:
      type: object
      required:
      - x402Version
      - resource
      - accepts
      - extensions
      properties:
        x402Version:
          type: integer
          enum:
          - 2
        error:
          type: string
        resource:
          type: object
          required:
          - url
          - description
          - mimeType
          properties:
            url:
              type: string
              format: uri
            description:
              type: string
            mimeType:
              type: string
            serviceName:
              type: string
        accepts:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/PaymentRequirement'
        extensions:
          type: object
          additionalProperties: true
    AnyJson:
      type: object
      additionalProperties: true
    ResultPage:
      type: object
      required:
      - success
      - task_id
      - rows
      - total
      - offset
      - limit
      properties:
        success:
          type: boolean
          example: true
        task_id:
          type: integer
        rows:
          type: array
          items:
            type: object
            properties:
              username:
                type: string
              tweet_time:
                type:
                - string
                - 'null'
              content:
                type: string
              tweet_link:
                type:
                - string
                - 'null'
        total:
          type: integer
        offset:
          type: integer
        limit:
          type: integer
        next_offset:
          type:
          - integer
          - 'null'
        result_meta:
          type: object
          additionalProperties: true
    Error:
      type: object
      required:
      - success
      - error_code
      - msg
      - error
      properties:
        success:
          type: boolean
          example: false
        error_code:
          type: string
          example: VALIDATION_ERROR
        msg:
          type: string
        error:
          type: object
          required:
          - code
          - message
          - request_id
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
            details:
              type: object
              additionalProperties: true
    PaymentRequirement:
      type: object
      required:
      - scheme
      - network
      - amount
      - asset
      - payTo
      - maxTimeoutSeconds
      additionalProperties: true
      properties:
        scheme:
          type: string
          example: exact
        network:
          type: string
          example: eip155:8453
        amount:
          type: string
          example: '20000'
        asset:
          type: string
          example: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        payTo:
          type: string
        maxTimeoutSeconds:
          type: integer
          example: 120
        extra:
          type: object
          additionalProperties: true
    CrawlRequest:
      type: object
      additionalProperties: false
      required:
      - users
      properties:
        users:
          type: array
          minItems: 1
          maxItems: 500
          items:
            type: string
            description: Handle, @handle, or x.com/twitter.com profile URL.
        mode:
          type: string
          enum:
          - normal
          - deep
          default: normal
        idempotency_key:
          type: string
          maxLength: 128
          pattern: ^[A-Za-z0-9._:-]+$
          description: API-key path only. Reuse for retries of identical intent.
  parameters:
    TaskId:
      name: task_id
      in: path
      required: true
      schema:
        type: integer
        minimum: 1
    ResultOffset:
      name: offset
      in: query
      schema:
        type: integer
        minimum: 0
        default: 0
    ResultLimit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 200
        default: 50
  headers:
    RequestId:
      description: Stable request correlation ID.
      schema:
        type: string
    PaymentRequired:
      description: Base64 JSON PaymentRequired challenge.
      schema:
        type: string
    PaymentResponse:
      description: Base64 JSON settlement response.
      schema:
        type: string
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: xc_live_...
    TaskToken:
      type: http
      scheme: bearer
      bearerFormat: xtask_...
    PaymentSignature:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: Base64 JSON x402 payment payload generated by a wallet/client.
externalDocs:
  description: Agent integration guide
  url: https://xcatcher.top/docs/