FE
API · x402

Extract every link on a page with anchor text and rel attributes

Extract every link on a page with anchor text and rel attributes. Classified into internal, external and mailto. Useful for mapping a site structure or harvesting citation targets.

by fetch2md.64-118-133-66.sslip.io · verified provider · updated 2026-10-15

30d calls—
30d payers—
MethodHTTP
Outputjson schema

What it does

Extract every link on a page with anchor text and rel attributes. Classified into internal, external and mailto. Useful for mapping a site structure or harvesting citation targets.

Tags: markdown · web · scraping · content-extraction · html-to-markdown · agent-tool · fetch · text

Call contract

Method
HTTP
Input
HTTP request
Output
json schema
No input exampleProvider did not publish one in Bazaar metadata.
Output example
{
  "url": "string",
  "title": "string",
  "description": "string",
  "markdown": "string",
  "truncated": true
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/62439.json for the price and payment options.
  3. Pay. Call GET https://fetch2md.64-118-133-66.sslip.io/v1/links-paid. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base Sepolia, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
see accepts
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base Sepolia

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase Sepolia
eip155:84532
USDC20000x4da37e08113bb96Da14B427338bfc3Dc7d7a833160s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "payTo": "0x4da37e08113bb96Da14B427338bfc3Dc7d7a8331",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "2000",
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string"
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "markdown": {
      "type": "string"
    },
    "truncated": {
      "type": "boolean"
    }
  },
  "required": [
    "url",
    "markdown",
    "truncated"
  ]
}
Example shape — generated from the schema, not a captured live response
{
  "url": "string",
  "title": "string",
  "description": "string",
  "markdown": "string",
  "truncated": true
}

Examples

curl
curl -X GET 'https://fetch2md.64-118-133-66.sslip.io/v1/links-paid'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://fetch2md.64-118-133-66.sslip.io/v1/links-paid", {
  "method": "GET"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.request("GET", "https://fetch2md.64-118-133-66.sslip.io/v1/links-paid")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
fetch2md.64-118-133-66.sslip.io
Endpoint
https://fetch2md.64-118-133-66.sslip.io/v1/links-paid
Machine-readable
/resources/62439.json