SmartCrawler Ondemand API

The Ondemand API from SmartCrawler — 6 operation(s) for ondemand.

GitHub OpenAPI

Operations 8

POST /api/ondemand/fetch Ondemand Fetch #
POST /api/ondemand/batch Ondemand Batch #
POST /api/ondemand/jobs/{job_id}/retry Ondemand Job Retry #
POST /api/ondemand/batch/{batch_id}/retry-failed Ondemand Batch Retry Failed #
GET /api/ondemand/jobs Ondemand Jobs List #
DELETE /api/ondemand/jobs Ondemand Jobs Clear #
GET /api/ondemand/jobs/{job_id} Ondemand Job Detail #
DELETE /api/ondemand/jobs/{job_id} Ondemand Job Delete #

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-ondemand-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-ondemand-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: smart-crawler — 为 AI Agent 打造的竞品数据采集引擎 Ondemand API
  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: Ondemand
paths:
  /api/ondemand/fetch:
    post:
      summary: Ondemand Fetch
      description: '按需抓取(单条):建 queued job + 入队,立即返回(异步串行抓取)。


        与 /ondemand/batch 同一套队列,仅 urls 为单元素。

        payload: {"url": "...", "max_items"?: int, "review_limit"?: int}'
      operationId: ondemand_fetch_api_ondemand_fetch_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:
              type: object
              additionalProperties: true
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Ondemand
  /api/ondemand/batch:
    post:
      summary: Ondemand Batch
      description: '批量提交 URL → 建 queued job + 入队,立即返回(异步串行抓取)。


        payload: {"urls": [...], "max_items"?: int, "review_limit"?: int}'
      operationId: ondemand_batch_api_ondemand_batch_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:
              type: object
              additionalProperties: true
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Ondemand
  /api/ondemand/jobs/{job_id}/retry:
    post:
      summary: Ondemand Job Retry
      operationId: ondemand_job_retry_api_ondemand_jobs__job_id__retry_post
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: integer
          title: Job 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'
      tags:
      - Ondemand
  /api/ondemand/batch/{batch_id}/retry-failed:
    post:
      summary: Ondemand Batch Retry Failed
      operationId: ondemand_batch_retry_failed_api_ondemand_batch__batch_id__retry_failed_post
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch 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'
      tags:
      - Ondemand
  /api/ondemand/jobs:
    get:
      summary: Ondemand Jobs List
      operationId: ondemand_jobs_list_api_ondemand_jobs_get
      parameters:
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Platform
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Page
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          default: 20
          title: Page Size
      - name: batch_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Batch Id
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      - 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'
      tags:
      - Ondemand
    delete:
      summary: Ondemand Jobs Clear
      operationId: ondemand_jobs_clear_api_ondemand_jobs_delete
      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
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Ondemand
  /api/ondemand/jobs/{job_id}:
    get:
      summary: Ondemand Job Detail
      operationId: ondemand_job_detail_api_ondemand_jobs__job_id__get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: integer
          title: Job 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'
      tags:
      - Ondemand
    delete:
      summary: Ondemand Job Delete
      operationId: ondemand_job_delete_api_ondemand_jobs__job_id__delete
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: integer
          title: Job 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'
      tags:
      - Ondemand
components:
  schemas:
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError