Shotlane Crawl API

The Crawl API from Shotlane — 3 operation(s) for crawl.

GitHub OpenAPI

Operations 3

POST /v1/crawl Crawl a site to Markdown (async job) #
GET /v1/crawl/{id} Crawl status and results #
GET /v1/crawl/{id}/zip Download a finished crawl as ZIP #

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/shotlane-dev:shotlane-dev-crawl-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

shotlane-dev-crawl-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shotlane Crawl API
  version: 1.0.0
  description: Website screenshot and HTML-to-PDF API. Prepaid credits that never expire.
servers:
- url: https://shotlane.dev
security:
- ApiKeyHeader: []
- ApiKeyQuery: []
tags:
- name: Crawl
paths:
  /v1/crawl:
    post:
      summary: Crawl a site to Markdown (async job)
      operationId: crawlStart
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                limit:
                  type: integer
                  default: 50
                  maximum: 500
                max_depth:
                  type: integer
                  default: 2
                  maximum: 10
                include:
                  type: array
                  items:
                    type: string
                exclude:
                  type: array
                  items:
                    type: string
                include_subdomains:
                  type: boolean
                sitemap:
                  type: boolean
                respect_robots:
                  type: boolean
                  default: true
                webhook_url:
                  type: string
            example:
              url: https://example.com
              limit: 3
      responses:
        '202':
          description: Job started
          content:
            application/json: {}
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Out of credits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Page could not be rendered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Crawl
  /v1/crawl/{id}:
    get:
      summary: Crawl status and results
      operationId: crawlStatus
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Job
      tags:
      - Crawl
  /v1/crawl/{id}/zip:
    get:
      summary: Download a finished crawl as ZIP
      operationId: crawlZip
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ZIP
          content:
            application/zip: {}
      tags:
      - Crawl
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        error_code:
          type: string
          enum:
          - invalid_parameter
          - host_not_resolved
          - private_address
          - unauthorized
          - insufficient_credits
          - signature_invalid
          - not_found
          - payload_too_large
          - selector_not_found
          - click_selector_not_found
          - hover_selector_not_found
          - wait_for_selector_timeout
          - content_contains_string
          - content_missing_string
          - request_failed
          - host_returned_error
          - navigation_failed
          - script_error
          - not_a_page
          - storage_upload_failed
          - timeout
          - pdf_too_large
          - mhtml_too_large
          - page_crashed
          - rate_limit
          - concurrency_limit
          - rate_limited
          - url_paused
          - render_failed
          - server_busy
          - site_busy
        documentation_url:
          type: string
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    ApiKeyQuery:
      type: apiKey
      in: query
      name: access_key