ToolTrace Extraction API

Extract content and page intelligence.

GitHub OpenAPI

Operations 4

POST /v1/extract Extract webpage content #
POST /v1/metadata Extract page metadata #
POST /v1/schema Extract structured data #

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/tooltrace-io:tooltrace-io-extraction-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

tooltrace-io-extraction-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ToolTrace Web Scraping Extraction API
  summary: Convert public webpages into clean content and structured data.
  description: 'ToolTrace is a developer-first web scraping API that converts public webpages

    into clean, application-ready data. Extract Markdown, readable text, metadata,

    links, JSON-LD schema, structured sections, raw HTML, and SEO diagnostics from

    static and JavaScript-rendered pages.


    It is built for AI agents, RAG pipelines, research tools, content analysis,

    SEO applications, automations, and data workflows.


    ### Rendering and credits


    * `render: never` uses fast static fetching and costs **1 credit**.

    * `render: auto` starts statically and uses browser rendering only when needed.

    * `render: always` uses browser rendering and costs **5 credits**.


    `POST /v1/sitemap-inspector` is priced per URL inspected rather than per

    request: **1 credit per 10 URLs**, so the default 25-URL check costs 3 credits.


    ToolTrace detects access challenges but does not solve CAPTCHAs or bypass a

    website''s access controls. Only public HTTP/HTTPS destinations are supported.'
  contact:
    name: ToolTrace
    url: https://tooltrace.io/
    email: info@tooltrace.io
  version: 0.4.0
servers:
- url: https://api.tooltrace.io
  description: Production
tags:
- name: Extraction
  description: Extract content and page intelligence.
paths:
  /v1/extract:
    post:
      tags:
      - Extraction
      summary: Extract webpage content
      description: Return clean Markdown and structured page intelligence, with optional raw HTML and browser rendering.
      operationId: extract_webpage
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExtractRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractResponse'
        '401':
          description: Authentication is missing or invalid
        '403':
          description: The destination or operation is not permitted
        '413':
          description: The request body exceeds the allowed size
        '422':
          description: The request or URL is invalid
        '429':
          description: A plan quota, rate limit, or concurrency limit was exceeded
        '502':
          description: The target website could not be fetched
        '503':
          description: A required ToolTrace service is temporarily unavailable
        '504':
          description: The target website or browser renderer timed out
      security:
      - ToolTraceApiKey: []
  /v1/metadata:
    post:
      tags:
      - Extraction
      summary: Extract page metadata
      description: Return title, description, canonical URL, author, publication date, favicon, Open Graph, and Twitter metadata.
      operationId: extract_metadata
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UrlRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetadataResponse'
        '401':
          description: Authentication is missing or invalid
        '403':
          description: The destination or operation is not permitted
        '413':
          description: The request body exceeds the allowed size
        '422':
          description: The request or URL is invalid
        '429':
          description: A plan quota, rate limit, or concurrency limit was exceeded
        '502':
          description: The target website could not be fetched
        '503':
          description: A required ToolTrace service is temporarily unavailable
        '504':
          description: The target website or browser renderer timed out
      security:
      - ToolTraceApiKey: []
  /v1/links:
    post:
      tags:
      - Extraction
      summary: Extract page links
      description: Return normalized internal and external links with anchor text.
      operationId: extract_links
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NormalizedUrlRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinksResponse'
        '401':
          description: Authentication is missing or invalid
        '403':
          description: The destination or operation is not permitted
        '413':
          description: The request body exceeds the allowed size
        '422':
          description: The request or URL is invalid
        '429':
          description: A plan quota, rate limit, or concurrency limit was exceeded
        '502':
          description: The target website could not be fetched
        '503':
          description: A required ToolTrace service is temporarily unavailable
        '504':
          description: The target website or browser renderer timed out
      security:
      - ToolTraceApiKey: []
  /v1/schema:
    post:
      tags:
      - Extraction
      summary: Extract structured data
      description: Return JSON-LD and supported embedded schema data in normalized or raw form.
      operationId: extract_structured_data
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NormalizedUrlRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SchemaResponse'
        '401':
          description: Authentication is missing or invalid
        '403':
          description: The destination or operation is not permitted
        '413':
          description: The request body exceeds the allowed size
        '422':
          description: The request or URL is invalid
        '429':
          description: A plan quota, rate limit, or concurrency limit was exceeded
        '502':
          description: The target website could not be fetched
        '503':
          description: A required ToolTrace service is temporarily unavailable
        '504':
          description: The target website or browser renderer timed out
      security:
      - ToolTraceApiKey: []
components:
  schemas:
    Metadata:
      properties:
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        canonical_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Canonical Url
        language:
          anyOf:
          - type: string
          - type: 'null'
          title: Language
        author:
          anyOf:
          - type: string
          - type: 'null'
          title: Author
        published_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Published At
        favicon_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Favicon Url
        open_graph:
          additionalProperties:
            type: string
          type: object
          title: Open Graph
        twitter:
          additionalProperties:
            type: string
          type: object
          title: Twitter
      type: object
      title: Metadata
    SchemaResponse:
      properties:
        fetch:
          $ref: '#/components/schemas/FetchInfo'
        mode:
          type: string
          enum:
          - normalized
          - raw
          title: Mode
        count:
          type: integer
          minimum: 0.0
          title: Count
        schema:
          items:
            anyOf:
            - additionalProperties: true
              type: object
            - items: {}
              type: array
            - type: string
            - type: integer
            - type: number
            - type: boolean
            - type: 'null'
          type: array
          title: Schema
      type: object
      required:
      - fetch
      - mode
      - count
      - schema
      title: SchemaResponse
    MetadataResponse:
      properties:
        fetch:
          $ref: '#/components/schemas/FetchInfo'
        metadata:
          $ref: '#/components/schemas/Metadata'
      type: object
      required:
      - fetch
      - metadata
      title: MetadataResponse
    RenderMetrics:
      properties:
        stable:
          type: boolean
          title: Stable
        stability_wait_ms:
          type: integer
          minimum: 0.0
          title: Stability Wait Ms
        stability_checks:
          type: integer
          minimum: 0.0
          title: Stability Checks
        visible_words:
          type: integer
          minimum: 0.0
          title: Visible Words
        dom_nodes:
          type: integer
          minimum: 0.0
          title: Dom Nodes
        network_requests:
          type: integer
          minimum: 0.0
          title: Network Requests
        network_bytes:
          type: integer
          minimum: 0.0
          title: Network Bytes
        blocked_requests:
          type: integer
          minimum: 0.0
          title: Blocked Requests
        js_heap_used_mb:
          anyOf:
          - type: number
            minimum: 0.0
          - type: 'null'
          title: Js Heap Used Mb
      type: object
      required:
      - stable
      - stability_wait_ms
      - stability_checks
      - visible_words
      - dom_nodes
      - network_requests
      - network_bytes
      - blocked_requests
      title: RenderMetrics
    Link:
      properties:
        url:
          type: string
          title: Url
        text:
          anyOf:
          - type: string
          - type: 'null'
          title: Text
        kind:
          type: string
          enum:
          - internal
          - external
          title: Kind
        rel:
          items:
            type: string
          type: array
          title: Rel
        nofollow:
          type: boolean
          title: Nofollow
          default: false
        sponsored:
          type: boolean
          title: Sponsored
          default: false
        ugc:
          type: boolean
          title: Ugc
          default: false
      type: object
      required:
      - url
      - kind
      title: Link
    UrlRequest:
      properties:
        render:
          type: string
          enum:
          - never
          - auto
          - always
          title: Render
          description: Use static HTML, automatically render when needed, or always use a browser. Static requests cost 1 credit; browser-rendered requests cost 5 credits.
          default: auto
        wait_until:
          type: string
          enum:
          - domcontentloaded
          - load
          - networkidle
          title: Wait Until
          description: Browser navigation milestone. Used only when browser rendering occurs.
          default: domcontentloaded
        wait_for_selector:
          anyOf:
          - type: string
            maxLength: 200
            minLength: 1
          - type: 'null'
          title: Wait For Selector
          description: Optional CSS selector to await on rendered pages.
          examples:
          - main
        render_timeout_seconds:
          anyOf:
          - type: number
            maximum: 45.0
            minimum: 1.0
          - type: 'null'
          title: Render Timeout Seconds
          description: Optional browser-rendering timeout. The plan maximum still applies.
        url:
          type: string
          maxLength: 2083
          minLength: 1
          format: uri
          title: Url
          description: Public HTTP or HTTPS webpage URL. Private networks and unsafe redirects are blocked.
          examples:
          - https://example.com
      type: object
      required:
      - url
      title: UrlRequest
      examples:
      - render: auto
        url: https://example.com
      - render: never
        url: https://example.com
      example:
        render: auto
        url: https://example.com
    LinksResponse:
      properties:
        fetch:
          $ref: '#/components/schemas/FetchInfo'
        mode:
          type: string
          enum:
          - normalized
          - raw
          title: Mode
        count:
          type: integer
          minimum: 0.0
          title: Count
        links:
          items:
            $ref: '#/components/schemas/Link'
          type: array
          title: Links
      type: object
      required:
      - fetch
      - mode
      - count
      - links
      title: LinksResponse
    ExtractResponse:
      properties:
        fetch:
          $ref: '#/components/schemas/FetchInfo'
        mode:
          type: string
          enum:
          - structured
          - raw
          - both
          title: Mode
        markdown:
          anyOf:
          - type: string
          - type: 'null'
          title: Markdown
        text:
          anyOf:
          - type: string
          - type: 'null'
          title: Text
        metadata:
          anyOf:
          - $ref: '#/components/schemas/Metadata'
          - type: 'null'
        links:
          anyOf:
          - items:
              $ref: '#/components/schemas/Link'
            type: array
          - type: 'null'
          title: Links
        schema:
          anyOf:
          - items:
              anyOf:
              - additionalProperties: true
                type: object
              - items: {}
                type: array
              - type: string
              - type: integer
              - type: number
              - type: boolean
              - type: 'null'
            type: array
          - type: 'null'
          title: Schema
        sections:
          anyOf:
          - items:
              $ref: '#/components/schemas/ContentSection'
            type: array
          - type: 'null'
          title: Sections
        raw_html:
          anyOf:
          - type: string
          - type: 'null'
          title: Raw Html
        word_count:
          type: integer
          title: Word Count
        content_hash:
          type: string
          title: Content Hash
      type: object
      required:
      - fetch
      - mode
      - word_count
      - content_hash
      title: ExtractResponse
    ExtractRequest:
      properties:
        render:
          type: string
          enum:
          - never
          - auto
          - always
          title: Render
          description: Use static HTML, automatically render when needed, or always use a browser. Static requests cost 1 credit; browser-rendered requests cost 5 credits.
          default: auto
        wait_until:
          type: string
          enum:
          - domcontentloaded
          - load
          - networkidle
          title: Wait Until
          description: Browser navigation milestone. Used only when browser rendering occurs.
          default: domcontentloaded
        wait_for_selector:
          anyOf:
          - type: string
            maxLength: 200
            minLength: 1
          - type: 'null'
          title: Wait For Selector
          description: Optional CSS selector to await on rendered pages.
          examples:
          - main
        render_timeout_seconds:
          anyOf:
          - type: number
            maximum: 45.0
            minimum: 1.0
          - type: 'null'
          title: Render Timeout Seconds
          description: Optional browser-rendering timeout. The plan maximum still applies.
        url:
          type: string
          maxLength: 2083
          minLength: 1
          format: uri
          title: Url
          description: Public HTTP or HTTPS webpage URL. Private networks and unsafe redirects are blocked.
          examples:
          - https://example.com
        mode:
          type: string
          enum:
          - structured
          - raw
          - both
          title: Mode
          description: Return structured intelligence, raw HTML, or both.
          default: structured
        include:
          items:
            type: string
            enum:
            - markdown
            - text
            - metadata
            - links
            - schema
            - sections
          type: array
          uniqueItems: true
          title: Include
          default:
          - links
          - markdown
          - metadata
          - schema
          - sections
      type: object
      required:
      - url
      title: ExtractRequest
      examples:
      - include:
        - markdown
        - metadata
        - links
        - schema
        - sections
        mode: structured
        render: auto
        url: https://example.com
      - mode: both
        render: always
        url: https://example.com
        wait_for_selector: main
      example:
        include:
        - markdown
        mode: structured
        render: auto
        url: https://example.com
    NormalizedUrlRequest:
      properties:
        render:
          type: string
          enum:
          - never
          - auto
          - always
          title: Render
          description: Use static HTML, automatically render when needed, or always use a browser. Static requests cost 1 credit; browser-rendered requests cost 5 credits.
          default: auto
        wait_until:
          type: string
          enum:
          - domcontentloaded
          - load
          - networkidle
          title: Wait Until
          description: Browser navigation milestone. Used only when browser rendering occurs.
          default: domcontentloaded
        wait_for_selector:
          anyOf:
          - type: string
            maxLength: 200
            minLength: 1
          - type: 'null'
          title: Wait For Selector
          description: Optional CSS selector to await on rendered pages.
          examples:
          - main
        render_timeout_seconds:
          anyOf:
          - type: number
            maximum: 45.0
            minimum: 1.0
          - type: 'null'
          title: Render Timeout Seconds
          description: Optional browser-rendering timeout. The plan maximum still applies.
        url:
          type: string
          maxLength: 2083
          minLength: 1
          format: uri
          title: Url
          description: Public HTTP or HTTPS webpage URL. Private networks and unsafe redirects are blocked.
          examples:
          - https://example.com
        mode:
          type: string
          enum:
          - normalized
          - raw
          title: Mode
          description: Normalize extracted values for convenient consumption or preserve raw values.
          default: normalized
      type: object
      required:
      - url
      title: NormalizedUrlRequest
      examples:
      - render: auto
        url: https://example.com
      - render: never
        url: https://example.com
      example:
        render: auto
        url: https://example.com
    FetchInfo:
      properties:
        requested_url:
          type: string
          title: Requested Url
        final_url:
          type: string
          title: Final Url
        status_code:
          type: integer
          title: Status Code
        content_type:
          type: string
          title: Content Type
        bytes_downloaded:
          type: integer
          title: Bytes Downloaded
        elapsed_ms:
          type: integer
          title: Elapsed Ms
        redirects:
          type: integer
          title: Redirects
        cached:
          type: boolean
          title: Cached
          default: false
        render_method:
          type: string
          enum:
          - static
          - browser
          - static_fallback
          title: Render Method
          default: static
        render_reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Render Reason
        credits_used:
          type: integer
          minimum: 0.0
          title: Credits Used
          default: 1
        render_metrics:
          anyOf:
          - $ref: '#/components/schemas/RenderMetrics'
          - type: 'null'
        warnings:
          items:
            type: string
          type: array
          title: Warnings
        access_status:
          type: string
          enum:
          - normal
          - blocked
          - login_required
          - rate_limited
          title: Access Status
          default: normal
        block_reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Block Reason
        challenge_provider:
          anyOf:
          - type: string
          - type: 'null'
          title: Challenge Provider
      type: object
      required:
      - requested_url
      - final_url
      - status_code
      - content_type
      - bytes_downloaded
      - elapsed_ms
      - redirects
      title: FetchInfo
    ContentSection:
      properties:
        id:
          type: string
          title: Id
        heading:
          anyOf:
          - type: string
          - type: 'null'
          title: Heading
        level:
          anyOf:
          - type: integer
          - type: 'null'
          title: Level
        text:
          type: string
          title: Text
      type: object
      required:
      - id
      - text
      title: ContentSection
  securitySchemes:
    ToolTraceApiKey:
      type: apiKey
      in: header
      name: X-ToolTrace-Key