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.
openapi: 3.2.0
info:
title: scrapewright Jobs API
description: Give it a URL, it writes the scraper. An LLM compiles a site once; every page after that replays free.
version: 1.0.3
tags:
- name: Jobs
paths:
/v1/jobs/{job_id}:
get:
summary: Job Endpoint
operationId: job_endpoint_v1_jobs__job_id__get
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
- 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:
type: object
additionalProperties: true
title: Response Job Endpoint V1 Jobs Job Id Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Jobs
/v1/jobs/{job_id}/download:
get:
summary: Job Download
description: 'A finished crawl as a file, so the rows can leave as a spreadsheet.
The JSON at ``/v1/jobs/{id}`` is what a program wants. A person wants
a file they can open, and until this existed the only way to get one
was to run the CLI yourself -- which left anyone who bought credits
and opened a browser with no way to collect what they paid for.'
operationId: job_download_v1_jobs__job_id__download_get
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
- name: format
in: query
required: false
schema:
type: string
default: csv
title: Format
- 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:
- Jobs
/v1/jobs:
get:
summary: Jobs Endpoint
operationId: jobs_endpoint_v1_jobs_get
parameters:
- 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:
type: object
additionalProperties: true
title: Response Jobs Endpoint V1 Jobs Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Jobs
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