SmartCrawler asynchronous tasks API

The asynchronous tasks API from SmartCrawler — 11 operation(s) for asynchronous tasks.

GitHub OpenAPI

Operations 11

GET /api/v1/tasks/types Task Types #
GET /api/v1/tasks/lookup Lookup Task #
POST /api/v1/tasks Submit Task #
POST /api/v1/tasks/batches Submit Batch #
GET /api/v1/tasks/batches/{batch_id} Batch Detail #
GET /api/v1/tasks/{task_id} Detail #
GET /api/v1/tasks/{task_id}/result Result #
POST /api/v1/tasks/{task_id}/resume Resume #
POST /api/v1/tasks/{task_id}/cancel Cancel #
POST /api/v1/tasks/{task_id}/callback/retry Callback Retry #
POST /api/v1/tasks/{task_id}/rerun Rerun #

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/smartcrawler-io:smartcrawler-io-asynchronous-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

smartcrawler-io-asynchronous-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: smart-crawler — 为 AI Agent 打造的竞品数据采集引擎 asynchronous tasks…
  description: '跨境电商竞品数据采集引擎,覆盖 9 大家居品牌 46 个独立站,并支持 Amazon/市场平台 VOC。


    **AI Agent 推荐用 MCP 接入**:`/mcp`(streamable-http,工具目录见 `/llms.txt`)。

    REST API 用 `X-API-Key: sck_...` 鉴权。能力总览见 `/agents.json`,站点简介见 `/llms.txt`。'
  version: 0.1.0
tags:
- name: asynchronous tasks
paths:
  /api/v1/tasks/types:
    get:
      tags:
      - asynchronous tasks
      summary: Task Types
      operationId: task_types_api_v1_tasks_types_get
      parameters:
      - name: app_id
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          title: App Id
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tasks/lookup:
    get:
      tags:
      - asynchronous tasks
      summary: Lookup Task
      operationId: lookup_task_api_v1_tasks_lookup_get
      parameters:
      - name: app_id
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          title: App Id
      - name: req_ssn
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          title: Req Ssn
      - name: type
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          title: Type
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tasks:
    post:
      tags:
      - asynchronous tasks
      summary: Submit Task
      operationId: submit_task_api_v1_tasks_post
      parameters:
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskSubmitRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tasks/batches:
    post:
      tags:
      - asynchronous tasks
      summary: Submit Batch
      operationId: submit_batch_api_v1_tasks_batches_post
      parameters:
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskBatchRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tasks/batches/{batch_id}:
    get:
      tags:
      - asynchronous tasks
      summary: Batch Detail
      operationId: batch_detail_api_v1_tasks_batches__batch_id__get
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: integer
          title: Batch Id
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 100
          title: Limit
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tasks/{task_id}:
    get:
      tags:
      - asynchronous tasks
      summary: Detail
      operationId: detail_api_v1_tasks__task_id__get
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          title: Task Id
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tasks/{task_id}/result:
    get:
      tags:
      - asynchronous tasks
      summary: Result
      operationId: result_api_v1_tasks__task_id__result_get
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          title: Task Id
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tasks/{task_id}/resume:
    post:
      tags:
      - asynchronous tasks
      summary: Resume
      operationId: resume_api_v1_tasks__task_id__resume_post
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          title: Task Id
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tasks/{task_id}/cancel:
    post:
      tags:
      - asynchronous tasks
      summary: Cancel
      operationId: cancel_api_v1_tasks__task_id__cancel_post
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          title: Task Id
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tasks/{task_id}/callback/retry:
    post:
      tags:
      - asynchronous tasks
      summary: Callback Retry
      operationId: callback_retry_api_v1_tasks__task_id__callback_retry_post
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          title: Task Id
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tasks/{task_id}/rerun:
    post:
      tags:
      - asynchronous tasks
      summary: Rerun
      operationId: rerun_api_v1_tasks__task_id__rerun_post
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          title: Task Id
      - name: X-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Id
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RerunRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RerunRequest:
      properties:
        req_ssn:
          type: string
          maxLength: 128
          minLength: 1
          title: Req Ssn
      additionalProperties: false
      type: object
      required:
      - req_ssn
      title: RerunRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    TaskSubmitRequest:
      properties:
        app_id:
          type: string
          maxLength: 64
          minLength: 1
          title: App Id
        req_ssn:
          type: string
          maxLength: 128
          minLength: 1
          title: Req Ssn
        type:
          type: string
          maxLength: 128
          minLength: 1
          pattern: ^[a-z][a-z0-9_.]*$
          title: Type
        type_version:
          type: integer
          maximum: 2147483647.0
          minimum: 1.0
          title: Type Version
          default: 1
        priority:
          type: integer
          maximum: 1000.0
          minimum: 0.0
          title: Priority
          default: 200
        callback_url:
          anyOf:
          - type: string
            maxLength: 2048
            minLength: 1
          - type: 'null'
          title: Callback Url
        payload:
          additionalProperties: true
          type: object
          title: Payload
      additionalProperties: false
      type: object
      required:
      - app_id
      - req_ssn
      - type
      - payload
      title: TaskSubmitRequest
    TaskBatchRequest:
      properties:
        app_id:
          type: string
          maxLength: 64
          minLength: 1
          title: App Id
        batch_req_ssn:
          type: string
          maxLength: 128
          minLength: 1
          title: Batch Req Ssn
        tasks:
          items:
            $ref: '#/components/schemas/TaskSubmitRequest'
          type: array
          maxItems: 100
          minItems: 1
          title: Tasks
      additionalProperties: false
      type: object
      required:
      - app_id
      - batch_req_ssn
      - tasks
      title: TaskBatchRequest