> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryhuntr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape a specific web page

> **Requires `x-api-key` header.**

Rate limit: 5 requests/second per API key.

Fetches one public URL and returns structured page content: metadata, text blocks, outbound links, and images. Does not run an LLM and does not crawl other pages.

**Price:** $0.005 when content is found, free if the page has no extractable content.



## OpenAPI

````yaml /openapi.json post /page-scrape
openapi: 3.0.3
info:
  title: Huntr — The GTM Intelligence API
  description: >-
    Give AI agents company, people, contact, and web intelligence through one
    API. Search accounts, build targeted lists, enrich leads, find contacts, and
    uncover buying signals.


    **Authentication:** Authenticated endpoints require an `x-api-key` header
    with your Huntr API key. Get a key by signing up via `POST /keys/create`.
    Public endpoints (pricing, sign-up, health) work without a key.


    **Rate limit:** 5 requests/second per API key on authenticated endpoints.
  version: 2.0.0
servers:
  - url: https://api.tryhuntr.com
security: []
tags:
  - name: Research
    description: >-
      Research one company, person, team, or focused business question and
      return a sales-ready answer. Lite, standard, and deep tiers.
  - name: Companies
    description: >-
      Search companies and enrich firmographics. Per-result pricing on search;
      count endpoints are free.
  - name: People
    description: >-
      Search people and enrich contacts — work email, phone, and related lookup
      endpoints.
  - name: LinkedIn
    description: >-
      LinkedIn URL discovery, company and profile pages, posts, reactions, and
      comments.
  - name: X
    description: X profiles, posts, search results, and thread context.
  - name: Web
    description: >-
      Find and analyze pages on a domain, plus tech stack, domain contacts, and
      job postings.
  - name: Account
    description: >-
      Sign up, verify email, recover keys, check balance, view usage, add
      credits, and read the public pricing matrix.
  - name: System
    description: Health check.
paths:
  /page-scrape:
    post:
      tags:
        - Web
      summary: Scrape a specific web page
      description: >-
        **Requires `x-api-key` header.**


        Rate limit: 5 requests/second per API key.


        Fetches one public URL and returns structured page content: metadata,
        text blocks, outbound links, and images. Does not run an LLM and does
        not crawl other pages.


        **Price:** $0.005 when content is found, free if the page has no
        extractable content.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - url
              properties:
                url:
                  type: string
                  description: >-
                    The public HTTPS URL to fetch, e.g.
                    `https://stripe.com/pricing`.
            example:
              url: https://stripe.com/pricing
      responses:
        '200':
          description: Page scraped. `result` contains metadata, blocks, links, and images.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  request_id:
                    type: string
                  url:
                    type: string
                  result:
                    type: object
                  price:
                    type: number
                    description: $0.005 when content is found, otherwise 0.
                  credits_remaining:
                    type: number
              examples:
                found:
                  summary: Content found
                  value:
                    success: true
                    request_id: req_1746123456_ps1x2y
                    url: https://stripe.com/pricing
                    price: 0.005
                    credits_remaining: 4.995
                    result:
                      final_url: https://stripe.com/pricing
                      blocks:
                        - text: Plans for every stage.
                      links: []
                      images: []
                empty:
                  summary: No content (not charged)
                  value:
                    success: true
                    request_id: req_1746123456_ps2x3y
                    url: https://example.com/empty
                    price: 0
                    credits_remaining: 5
                    result:
                      blocks: []
                      links: []
                      images: []
        '400':
          description: Missing or invalid url.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Insufficient credits.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Fetch failed. Credits are refunded automatically.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your Huntr API key. Get one at tryhuntr.com. Pass as x-api-key header on
        all authenticated requests.

````