{
  "x402Version": 2,
  "id": 54165,
  "slug": "54165",
  "resource": "https://web-scraper-api-production-bf20.up.railway.app/scrape/structured",
  "description": "Extract structured elements: heading hierarchy (h1-h6), lists, tables as 2D arrays, and images with alt text, plus element counts.",
  "type": "http",
  "resourceType": "Web Intelligence",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xFFc458dB291b4ABcE020fE3de4f91F2770E537b1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "counts": {
            "description": "Element tallies: headings, lists, tables, images.",
            "type": "object"
          },
          "final_url": {
            "type": "string"
          },
          "headings": {
            "description": "Heading nodes in document order; each is {level, text}.",
            "type": "array"
          },
          "images": {
            "description": "Images; each is {src, alt, width, height}.",
            "type": "array"
          },
          "lists": {
            "description": "Top-level ul/ol lists; each is {type, items}.",
            "type": "array"
          },
          "tables": {
            "description": "Tables as 2D arrays of cell strings (rows of cells).",
            "type": "array"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "url": "https://example.com"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "counts": {
              "headings": 1,
              "images": 1,
              "lists": 1,
              "tables": 1
            },
            "final_url": "https://example.com/",
            "headings": [
              {
                "level": 1,
                "text": "Example Domain"
              }
            ],
            "images": [
              {
                "alt": "Example logo",
                "height": "80",
                "src": "https://example.com/logo.png",
                "width": "200"
              }
            ],
            "lists": [
              {
                "items": [
                  "First item",
                  "Second item"
                ],
                "type": "ul"
              }
            ],
            "tables": [
              [
                [
                  "Header A",
                  "Header B"
                ],
                [
                  "Row 1A",
                  "Row 1B"
                ]
              ]
            ],
            "url": "https://example.com"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "url": {
                    "description": "Absolute http(s) URL of the page to scrape, e.g. 'https://example.com'.",
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "counts": {
                    "description": "Element tallies: headings, lists, tables, images.",
                    "type": "object"
                  },
                  "final_url": {
                    "type": "string"
                  },
                  "headings": {
                    "description": "Heading nodes in document order; each is {level, text}.",
                    "type": "array"
                  },
                  "images": {
                    "description": "Images; each is {src, alt, width, height}.",
                    "type": "array"
                  },
                  "lists": {
                    "description": "Top-level ul/ol lists; each is {type, items}.",
                    "type": "array"
                  },
                  "tables": {
                    "description": "Tables as 2D arrays of cell strings (rows of cells).",
                    "type": "array"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "web-scraper-api-production-bf20.up.railway.app",
  "lastUpdated": "2026-10-08T06:51:33.501Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:51:33.28Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "url": "https://example.com"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "counts": {
                "headings": 1,
                "images": 1,
                "lists": 1,
                "tables": 1
              },
              "final_url": "https://example.com/",
              "headings": [
                {
                  "level": 1,
                  "text": "Example Domain"
                }
              ],
              "images": [
                {
                  "alt": "Example logo",
                  "height": "80",
                  "src": "https://example.com/logo.png",
                  "width": "200"
                }
              ],
              "lists": [
                {
                  "items": [
                    "First item",
                    "Second item"
                  ],
                  "type": "ul"
                }
              ],
              "tables": [
                [
                  [
                    "Header A",
                    "Header B"
                  ],
                  [
                    "Row 1A",
                    "Row 1B"
                  ]
                ]
              ],
              "url": "https://example.com"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "url": {
                      "description": "Absolute http(s) URL of the page to scrape, e.g. 'https://example.com'.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "url"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "counts": {
                      "description": "Element tallies: headings, lists, tables, images.",
                      "type": "object"
                    },
                    "final_url": {
                      "type": "string"
                    },
                    "headings": {
                      "description": "Heading nodes in document order; each is {level, text}.",
                      "type": "array"
                    },
                    "images": {
                      "description": "Images; each is {src, alt, width, height}.",
                      "type": "array"
                    },
                    "lists": {
                      "description": "Top-level ul/ol lists; each is {type, items}.",
                      "type": "array"
                    },
                    "tables": {
                      "description": "Tables as 2D arrays of cell strings (rows of cells).",
                      "type": "array"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "web-scraper-api-production-bf20.up.railway.app",
    "manifest_name": "web-scraper-api-production-bf20.up.railway.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "counts": {
      "headings": 1,
      "images": 1,
      "lists": 1,
      "tables": 1
    },
    "final_url": "https://example.com/",
    "headings": [
      {
        "level": 1,
        "text": "Example Domain"
      }
    ],
    "images": [
      {
        "alt": "Example logo",
        "height": "80",
        "src": "https://example.com/logo.png",
        "width": "200"
      }
    ],
    "lists": [
      {
        "items": [
          "First item",
          "Second item"
        ],
        "type": "ul"
      }
    ],
    "tables": [
      [
        [
          "Header A",
          "Header B"
        ],
        [
          "Row 1A",
          "Row 1B"
        ]
      ]
    ],
    "url": "https://example.com"
  }
}