Xcatcher Tasks API

The Tasks API from Xcatcher — 5 operation(s) for tasks.

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 6

GET /api/v1/tasks List recent owned tasks #
POST /api/v1/tasks Create an idempotent points-account crawl #
GET /api/v1/tasks/{task_id} Get safe task state #
GET /api/v1/tasks/{task_id}/results Get native structured result rows #
GET /api/v1/tasks/{task_id}/download Download complete XLSX #
POST /api/v1/tasks/{task_id}/cancel Cancel a queued task and refund points #

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-tasks-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-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Xcatcher Agent Tasks 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: Tasks
paths:
  /api/v1/tasks:
    get:
      tags:
      - Tasks
      operationId: listTasks
      summary: List recent owned tasks
      security:
      - ApiKey: []
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      - name: before_id
        in: query
        schema:
          type: integer
          minimum: 1
      responses:
        '200':
          description: Cursor page
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnyJson'
    post:
      tags:
      - Tasks
      operationId: createTask
      summary: Create an idempotent points-account crawl
      security:
      - ApiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CrawlRequest'
      responses:
        '200':
          description: Created or idempotently replayed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnyJson'
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Insufficient points
          headers:
            PAYMENT-REQUIRED:
              $ref: '#/components/headers/PaymentRequired'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Idempotency conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/tasks/{task_id}:
    get:
      tags:
      - Tasks
      operationId: getTask
      summary: Get safe task state
      security:
      - ApiKey: []
      parameters:
      - $ref: '#/components/parameters/TaskId'
      responses:
        '200':
          description: Task
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
        '404':
          description: Not found for this account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/tasks/{task_id}/results:
    get:
      tags:
      - Tasks
      operationId: getTaskResults
      summary: Get native structured result rows
      security:
      - ApiKey: []
      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'
        '409':
          description: Result not ready
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/tasks/{task_id}/download:
    get:
      tags:
      - Tasks
      operationId: downloadTaskResult
      summary: Download complete XLSX
      security:
      - ApiKey: []
      parameters:
      - $ref: '#/components/parameters/TaskId'
      responses:
        '200':
          description: XLSX stream
          content:
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: string
                format: binary
        '409':
          description: Result not ready
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/tasks/{task_id}/cancel:
    post:
      tags:
      - Tasks
      operationId: cancelTask
      summary: Cancel a queued task and refund points
      security:
      - ApiKey: []
      parameters:
      - $ref: '#/components/parameters/TaskId'
      responses:
        '200':
          description: Cancelled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnyJson'
        '400':
          description: Task is no longer queued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    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
    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.
    Task:
      type: object
      required:
      - task_id
      - status
      - status_code
      - lines
      - cost_points
      - has_result
      properties:
        task_id:
          type: integer
        status:
          type: string
          enum:
          - queued
          - processing
          - done
          - failed
          - cancelled
        status_code:
          type: integer
        task_mode:
          type:
          - string
          - 'null'
          enum:
          - normal
          - deep
          - null
        lines:
          type: integer
        cost_points:
          type: integer
        submit_time:
          type:
          - string
          - 'null'
          format: date-time
        updated_time:
          type:
          - string
          - 'null'
          format: date-time
        has_result:
          type: boolean
        result_meta:
          type: object
          additionalProperties: true
        results_url:
          type:
          - string
          - 'null'
        download_url:
          type:
          - string
          - 'null'
        error:
          type:
          - object
          - 'null'
          additionalProperties: true
  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:
    PaymentRequired:
      description: Base64 JSON PaymentRequired challenge.
      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/