{
  "x402Version": 2,
  "id": 31242,
  "slug": "31242",
  "resource": "https://mart402.com/v1/extract",
  "description": "Web extraction for AI agents: URL to clean Markdown + metadata, automatic JS rendering, robots.txt respected. No API key.",
  "type": "http",
  "serviceName": "Mart402",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xE3244a21D0d68bFa78b7CAd8C3b8777aDFbB3188",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2500",
      "amountUsd": 0.0025,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "mode": "auto",
            "url": "https://mart402.com/samples/assets/article.html"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "description": "JSON: markdown content, title, metadata, text_len, cache_hit; receipt id for free re-fetch",
          "example": {
            "author": "Mart",
            "cache_hit": false,
            "date": "2026-09-26",
            "extract_ms": 24,
            "fetch_ms": 242,
            "final_url": "https://mart402.com/samples/assets/article.html",
            "lang": null,
            "markdown": "# How an AI agent pays for an API call with x402\n\nThis page is a sample asset. It exists so that the example requests in our documentation work exactly as written: an agent that copies the example and pays for it gets real, useful content back instead of an error.\n\n## The four steps\n\nFirst, the agent sends an ordinary HTTP request to a paid endpoint without any payment. The server answers with HTTP 402 Payment Required and a machine-readable body that states the price, the asset (USDC), the network (Base) and the recipient address. Nothing has been charged at this point, so inspecting the term\n... (truncated in sample; full text returned on paid calls)",
            "method": "fast",
            "note": "SAMPLE RESPONSE recorded from a real run of the production engine on the self-hosted sample asset (deterministic product: same input gives this output). Served free at /samples/{product}. No payment was taken.",
            "ok": true,
            "reason": "",
            "receipt_id": "rcpt_... (issued on every paid call; re-fetch free at GET /v1/receipts/{id})",
            "sample": true,
            "sample_input": {
              "mode": "fast",
              "url": "https://mart402.com/samples/assets/article.html"
            },
            "status": 200,
            "text_len": 1654,
            "title": "How an AI agent pays for an API call with x402",
            "url": "https://mart402.com/samples/assets/article.html"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "mode": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "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": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "jws",
            "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6bWFydDQwMi5jb20ja2V5LTEifQ.eyJhbW91bnQiOiIyNTAwIiwiYXNzZXQiOiIweDgzMzU4OWZDRDZlRGI2RTA4ZjRjN0MzMkQ0ZjcxYjU0YmRBMDI5MTMiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJwYXlUbyI6IjB4RTMyNDRhMjFEMGQ2OGJGYTc4YjdDQWQ4QzNiODc3N2FERmJCMzE4OCIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly9tYXJ0NDAyLmNvbS92MS9leHRyYWN0Iiwic2NoZW1lIjoiZXhhY3QiLCJ2YWxpZFVudGlsIjoxNzkxODk5NTI4LCJ2ZXJzaW9uIjoxfQ.F__AjDO-DAp9NMdZHr9gv2nERD0ZaYSbhkd-vIPeOROy38TEkhjQgzgipCgAJL7tpuL0fnQeLVFbnBhA-FwXBA"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "const": "jws",
                  "type": "string"
                },
                "signature": {
                  "description": "JWS compact serialization containing the offer payload",
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "offer-receipt"
  ],
  "sourceHost": "mart402.com",
  "lastUpdated": "2026-10-13T13:47:08.655Z",
  "quality": {
    "calls30d": 13,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T13:47:08.254Z"
  },
  "metadata": {
    "serviceName": "Mart402",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "mode": "auto",
              "url": "https://mart402.com/samples/assets/article.html"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "description": "JSON: markdown content, title, metadata, text_len, cache_hit; receipt id for free re-fetch",
            "example": {
              "author": "Mart",
              "cache_hit": false,
              "date": "2026-09-26",
              "extract_ms": 24,
              "fetch_ms": 242,
              "final_url": "https://mart402.com/samples/assets/article.html",
              "lang": null,
              "markdown": "# How an AI agent pays for an API call with x402\n\nThis page is a sample asset. It exists so that the example requests in our documentation work exactly as written: an agent that copies the example and pays for it gets real, useful content back instead of an error.\n\n## The four steps\n\nFirst, the agent sends an ordinary HTTP request to a paid endpoint without any payment. The server answers with HTTP 402 Payment Required and a machine-readable body that states the price, the asset (USDC), the network (Base) and the recipient address. Nothing has been charged at this point, so inspecting the term\n... (truncated in sample; full text returned on paid calls)",
              "method": "fast",
              "note": "SAMPLE RESPONSE recorded from a real run of the production engine on the self-hosted sample asset (deterministic product: same input gives this output). Served free at /samples/{product}. No payment was taken.",
              "ok": true,
              "reason": "",
              "receipt_id": "rcpt_... (issued on every paid call; re-fetch free at GET /v1/receipts/{id})",
              "sample": true,
              "sample_input": {
                "mode": "fast",
                "url": "https://mart402.com/samples/assets/article.html"
              },
              "status": 200,
              "text_len": 1654,
              "title": "How an AI agent pays for an API call with x402",
              "url": "https://mart402.com/samples/assets/article.html"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "mode": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "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": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "offer-receipt": {
        "info": {
          "offers": [
            {
              "acceptIndex": 0,
              "format": "jws",
              "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6bWFydDQwMi5jb20ja2V5LTEifQ.eyJhbW91bnQiOiIyNTAwIiwiYXNzZXQiOiIweDgzMzU4OWZDRDZlRGI2RTA4ZjRjN0MzMkQ0ZjcxYjU0YmRBMDI5MTMiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJwYXlUbyI6IjB4RTMyNDRhMjFEMGQ2OGJGYTc4YjdDQWQ4QzNiODc3N2FERmJCMzE4OCIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly9tYXJ0NDAyLmNvbS92MS9leHRyYWN0Iiwic2NoZW1lIjoiZXhhY3QiLCJ2YWxpZFVudGlsIjoxNzkxODk5NTI4LCJ2ZXJzaW9uIjoxfQ.F__AjDO-DAp9NMdZHr9gv2nERD0ZaYSbhkd-vIPeOROy38TEkhjQgzgipCgAJL7tpuL0fnQeLVFbnBhA-FwXBA"
            }
          ]
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "offers": {
              "items": {
                "properties": {
                  "acceptIndex": {
                    "type": "integer"
                  },
                  "format": {
                    "const": "jws",
                    "type": "string"
                  },
                  "signature": {
                    "description": "JWS compact serialization containing the offer payload",
                    "type": "string"
                  }
                },
                "required": [
                  "format",
                  "signature"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "offers"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mart402.com",
    "manifest_name": "mart402.com",
    "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": {
    "example": {},
    "type": "string"
  }
}