SmartCrawler Export API
The Export API from SmartCrawler — 10 operation(s) for export.
The Export API from SmartCrawler — 10 operation(s) for export.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/smartcrawler-io:smartcrawler-io-export-api"
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.
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: 3.2.0
info:
title: smart-crawler — 为 AI Agent 打造的竞品数据采集引擎 Export 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: Export
paths:
/api/export/products:
get:
summary: Export Products
description: '导出产品数据,支持多格式 + 4 个 toggle。
- site=foo:单站点;sites=a,b,c:多站点(| 或 , 分隔)
- categories=cat1|cat2:品类过滤(无品类则全站)
- format=xlsx|csv|json|zip
- include_price_history / include_voc:xlsx 额外加 sheet
- include_images:xlsx 全字段表是否含 image_urls 列
- split_by_category:xlsx 是否按品类拆 sheet'
operationId: export_products_api_export_products_get
parameters:
- name: token
in: query
required: true
schema:
type: string
title: Token
- name: site
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Site
- name: sites
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Sites
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Workspace Id
- name: categories
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Categories
- name: tab
in: query
required: false
schema:
type: string
pattern: ^(all|bestseller|new)$
default: all
title: Tab
- name: search
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Search
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Status
- name: min_price
in: query
required: false
schema:
anyOf:
- type: number
- type: 'null'
title: Min Price
- name: max_price
in: query
required: false
schema:
anyOf:
- type: number
- type: 'null'
title: Max Price
- name: min_sale_price
in: query
required: false
schema:
anyOf:
- type: number
- type: 'null'
title: Min Sale Price
- name: max_sale_price
in: query
required: false
schema:
anyOf:
- type: number
- type: 'null'
title: Max Sale Price
- name: min_original_price
in: query
required: false
schema:
anyOf:
- type: number
- type: 'null'
title: Min Original Price
- name: max_original_price
in: query
required: false
schema:
anyOf:
- type: number
- type: 'null'
title: Max Original Price
- name: category
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Category
- name: min_rating
in: query
required: false
schema:
anyOf:
- type: number
- type: 'null'
title: Min Rating
- name: max_rating
in: query
required: false
schema:
anyOf:
- type: number
- type: 'null'
title: Max Rating
- name: min_reviews
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Min Reviews
- name: max_reviews
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Max Reviews
- name: min_sales
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Min Sales
- name: max_sales
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Max Sales
- name: min_revenue
in: query
required: false
schema:
anyOf:
- type: number
- type: 'null'
title: Min Revenue
- name: max_revenue
in: query
required: false
schema:
anyOf:
- type: number
- type: 'null'
title: Max Revenue
- name: min_variants
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Min Variants
- name: max_variants
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Max Variants
- name: has_video
in: query
required: false
schema:
anyOf:
- type: boolean
- type: 'null'
title: Has Video
- name: free_shipping
in: query
required: false
schema:
anyOf:
- type: boolean
- type: 'null'
title: Free Shipping
- name: created_from
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Created From
- name: created_to
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Created To
- name: new_from
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: New From
- name: new_to
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: New To
- name: scope
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Scope
- name: export_scope
in: query
required: false
schema:
type: string
pattern: ^(all|page)$
default: page
title: Export Scope
- name: page
in: query
required: false
schema:
type: integer
default: 1
title: Page
- name: page_size
in: query
required: false
schema:
type: integer
default: 50
title: Page Size
- name: format
in: query
required: false
schema:
type: string
default: xlsx
title: Format
- name: include_price_history
in: query
required: false
schema:
type: boolean
default: false
title: Include Price History
- name: include_voc
in: query
required: false
schema:
type: boolean
default: false
title: Include Voc
- name: include_images
in: query
required: false
schema:
type: boolean
default: true
title: Include Images
- name: split_by_category
in: query
required: false
schema:
type: boolean
default: false
title: Split By Category
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Export
/api/export/promotions:
get:
summary: Export Promotions
description: 导出销售促销,筛选条件与 /api/promotions 保持一致。
operationId: export_promotions_api_export_promotions_get
parameters:
- name: token
in: query
required: true
schema:
type: string
title: Token
- name: site
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Site
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Workspace Id
- name: search
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Search
- name: type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Type
- name: date_from
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Date From
- name: date_to
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Date To
- name: export_scope
in: query
required: false
schema:
type: string
pattern: ^(all|page)$
default: page
title: Export Scope
- name: page
in: query
required: false
schema:
type: integer
default: 1
title: Page
- name: page_size
in: query
required: false
schema:
type: integer
default: 50
title: Page Size
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Export
/api/export/product-trend:
get:
summary: Export Product Trend
description: 导出单品趋势分析,筛选条件与 /api/products/{pid}/trend 保持一致。
operationId: export_product_trend_api_export_product_trend_get
parameters:
- name: token
in: query
required: true
schema:
type: string
title: Token
- name: pid
in: query
required: true
schema:
type: integer
title: Pid
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Workspace Id
- name: granularity
in: query
required: false
schema:
type: string
pattern: ^(day|week|month)$
default: day
title: Granularity
- name: date_from
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Date From
- name: date_to
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Date To
- name: promo_search
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Promo Search
- name: promo_type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Promo Type
- name: promo_sku
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Promo Sku
- name: promo_date_from
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Promo Date From
- name: promo_date_to
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Promo Date To
- name: export_scope
in: query
required: false
schema:
type: string
pattern: ^(all|page)$
default: all
title: Export Scope
- name: promo_page
in: query
required: false
schema:
type: integer
minimum: 1
default: 1
title: Promo Page
- name: promo_page_size
in: query
required: false
schema:
type: integer
maximum: 500
minimum: 1
default: 20
title: Promo Page Size
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Export
/api/export/preview:
get:
summary: Export Preview
description: 轻量 count 查询返回 7 项预览统计。前端实时调用。
operationId: export_preview_api_export_preview_get
parameters:
- name: token
in: query
required: true
schema:
type: string
title: Token
- name: site
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Site
- name: sites
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Sites
- name: workspace_id
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Workspace Id
- name: categories
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Categories
- name: include_price_history
in: query
required: false
schema:
type: boolean
default: false
title: Include Price History
- name: include_voc
in: query
required: false
schema:
type: boolean
default: false
title: Include Voc
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Export
/api/export/products/async:
post:
summary: Enqueue Products Export
operationId: enqueue_products_export_api_export_products_async_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:
content:
application/json:
schema:
type: object
additionalProperties: true
default: {}
title: Payload
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Export
/api/export/jobs/async:
post:
summary: Enqueue Export
operationId: enqueue_export_api_export_jobs_async_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:
content:
application/json:
schema:
type: object
additionalProperties: true
default: {}
title: Payload
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Export
/api/export/jobs:
get:
summary: List Export Jobs
operationId: list_export_jobs_api_export_jobs_get
parameters:
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Status
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 50
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'
tags:
- Export
/api/export/jobs/{job_id}:
get:
summary: Get Export Job
operationId: get_export_job_api_export_jobs__job_id__get
parameters:
- name: job_id
in: path
required: true
schema:
type: string
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:
- Export
delete:
summary: Delete Export Job
operationId: delete_export_job_api_export_jobs__job_id__delete
parameters:
- name: job_id
in: path
required: true
schema:
type: string
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:
- Export
/api/export/jobs/{job_id}/retry:
post:
summary: Retry Export Job
operationId: retry_export_job_api_export_jobs__job_id__retry_post
parameters:
- name: job_id
in: path
required: true
schema:
type: string
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:
'202':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Export
/api/export/jobs/{job_id}/download:
get:
summary: Download Export Job
operationId: download_export_job_api_export_jobs__job_id__download_get
parameters:
- name: job_id
in: path
required: true
schema:
type: string
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:
- Export
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