Api Endpoint

Web Extract

Use when an agent needs fields from a web page as JSON. Input: url, schema (URL-encoded JSON Schema, object root, max 30 properties, depth 3), optional render=1 (run the page's JavaScript first), flags=1 (injectionFlags). Output: schema-validated JSON data (null when not on the page), title, finalUrl. noai pages and bad schemas refused before payment. Example: ?url=https://example.com/&schema={"type":"object","properties":{"title":{"type":"string"}}}

Open interactive test console

Offering

Provider
1gateway.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://1gateway.dev/v1/web/extract
MIME type
application/json
First seen
2026-11-01T15:13:03.480Z
Last seen
Tags
web-scraping, structured-extraction, json-schema, scrape, data-extraction

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.007 USDC
Atomic price: 7000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.007 USDC
Atomic price: 7000 · Network: eip155:143 · Asset: USDC · Scheme: exact
Payment option 3
0.007 USDC
Atomic price: 7000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.007 USDC
Atomic price: 7000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 5
0.007 USDC
Atomic price: 7000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "7000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "7000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "7000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "7000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "7000",
    "payTo": "AwV6UZobYPyTdsuNa2NknZZrnmmUoH5ckEv3wNgL26WT"
  }
]

Observed health

Status
Healthy
Latest latency
96 ms
Average latency
708 ms
HTTP status
402
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "Public http(s) web page URL",
          "pattern": "^https?://",
          "maxLength": 2048
        },
        "schema": {
          "type": "string",
          "description": "JSON Schema (object root) describing the fields to extract",
          "maxLength": 3000
        },
        "render": {
          "type": "string",
          "description": "1 = load the page in a headless browser (Cloudflare Browser Run) so JavaScript-built content is inc…",
          "enum": [
            "0",
            "1"
          ]
        },
        "flags": {
          "type": "string",
          "description": "1 = add injectionFlags: rule-based prompt-injection signals found in the page HTML (empty array whe…",
          "enum": [
            "0",
            "1"
          ]
        }
      },
      "required": [
        "url",
        "schema"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "properties": {
    "example": {
      "additionalProperties": true,
      "properties": {
        "data": {
          "additionalProperties": true,
          "properties": {
            "company": {
              "type": "string"
            },
            "quarters": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "quarter": {
                    "type": "string"
                  },
                  "revenue": {
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "total_revenue": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "finalUrl": {
          "type": "string"
        },
        "generatedAt": {
          "type": "string"
        },
        "inputChars": {
          "type": "integer"
        },
        "inputTruncated": {
          "type": "boolean"
        },
        "language": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "valid": {
          "type": "boolean"
        }
      },
      "required": [
        "url",
        "finalUrl",
        "title",
        "language",
        "inputChars",
        "inputTruncated",
        "data",
        "model",
        "generatedAt",
        "valid"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}