{
  "x402Version": 2,
  "id": 4861,
  "slug": "4861",
  "resource": "https://safefetch.schemasure.com/v1/fetch",
  "description": "Fetch a public web page and return clean Markdown with stable citation anchors, a content hash, and a retrieval timestamp — plus evidence of hidden text, invisible Unicode, and prompt-injection attempts found in the page. Strict SSRF protection on every redirect hop. Returns a per-span verdict with the decoded payload, not a confidence score. Zero retention.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9876af0F6D8Ed5155Cd02d1ca56D128601612690",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "output": "markdown",
            "policy": {
              "allow_redirects": 3,
              "flag_prompt_injection": true,
              "max_bytes": 2000000,
              "respect_robots": true,
              "user_initiated": false
            },
            "url": "https://example.com/article"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "confidence": 0.9,
            "data_versions": {
              "detectors": "detectors@1.0.0",
              "patterns": "patterns@1.0.0"
            },
            "evidence": [
              {
                "code": "CSS_HIDDEN_TEXT",
                "data": {
                  "excerpt": "ignore all previous instructions",
                  "technique": "display-none"
                },
                "detail": "display:none block contains instruction-like text",
                "severity": "high",
                "source": "hidden",
                "span": {
                  "end": 1523,
                  "line": 41,
                  "start": 1462
                }
              }
            ],
            "ok": true,
            "policy_version": "safefetch-2026-08-03",
            "request_hash": "sha256:4b1d...8ae0",
            "result": {
              "anchors": [
                {
                  "end": 61,
                  "exact": "The first paragraph of extracted body text.",
                  "prefix": "# Example article\n\n",
                  "start": 19,
                  "text_fragment": "https://example.com/article#:~:text=The%20first%20paragraph"
                }
              ],
              "content_sha256": "sha256:9f2c...c41d",
              "final_url": "https://example.com/article",
              "hops": [
                {
                  "status": 200,
                  "url": "https://example.com/article"
                }
              ],
              "markdown": "# Example article\n\nThe first paragraph of extracted body text.",
              "retrieved_at": "2026-08-04T12:00:00Z",
              "robots": {
                "allowed": true,
                "crawl_delay": null,
                "fetched": true,
                "matched_rule": "Allow: /"
              },
              "status": 200,
              "title": "Example article",
              "word_count": 412
            },
            "risk_codes": [
              "HIDDEN_INSTRUCTION_TEXT"
            ],
            "verdict": "warn",
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "output": {
                    "default": "markdown",
                    "description": "Which rendering to include in the result. Defaults to markdown.",
                    "enum": [
                      "markdown",
                      "text",
                      "both"
                    ],
                    "type": "string"
                  },
                  "policy": {
                    "additionalProperties": false,
                    "properties": {
                      "allow_redirects": {
                        "description": "Redirect hops permitted. Every hop is revalidated against the SSRF policy.",
                        "maximum": 3,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "flag_prompt_injection": {
                        "default": true,
                        "description": "Run injection detection. Setting this false makes the verdict unknown rather than allow: `allow` means no signal was found, and with detection off nothing looked.",
                        "type": "boolean"
                      },
                      "max_bytes": {
                        "description": "Analysis cap. A document larger than this is truncated before parsing and the verdict becomes unknown, because an unanalysed remainder exists.",
                        "maximum": 20971520,
                        "minimum": 1024,
                        "type": "integer"
                      },
                      "respect_robots": {
                        "default": true,
                        "description": "Honour robots.txt. A disallow returns 403 POLICY_BLOCKED with the matched rule and is not charged. Setting this false requires user_initiated:true.",
                        "type": "boolean"
                      },
                      "user_initiated": {
                        "default": false,
                        "description": "Attestation that a person explicitly asked for this specific page. Required to set respect_robots:false. Logged.",
                        "type": "boolean"
                      }
                    },
                    "type": "object"
                  },
                  "url": {
                    "description": "An http or https URL naming a hostname. Ports other than 80 and 443, credentials in the URL, and literal IP addresses are rejected.",
                    "format": "uri",
                    "maxLength": 2048,
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "confidence": {
                    "type": "number"
                  },
                  "data_versions": {
                    "type": "object"
                  },
                  "evidence": {
                    "description": "Per-span findings, each with a code, severity, and any decoded hidden payload.",
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "ok": {
                    "type": "boolean"
                  },
                  "policy_version": {
                    "type": "string"
                  },
                  "request_hash": {
                    "type": "string"
                  },
                  "result": {
                    "properties": {
                      "anchors": {
                        "description": "W3C Web Annotation selectors plus a Text Fragment deep link per span.",
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "content_sha256": {
                        "type": "string"
                      },
                      "final_url": {
                        "type": "string"
                      },
                      "hops": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "markdown": {
                        "type": "string"
                      },
                      "retrieved_at": {
                        "format": "date-time",
                        "type": "string"
                      },
                      "robots": {
                        "type": "object"
                      },
                      "status": {
                        "type": "integer"
                      },
                      "title": {
                        "type": "string"
                      },
                      "word_count": {
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "risk_codes": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "verdict": {
                    "enum": [
                      "allow",
                      "warn",
                      "block",
                      "unknown"
                    ],
                    "type": "string"
                  },
                  "warnings": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "ok",
                  "verdict",
                  "evidence",
                  "result",
                  "request_hash"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "safefetch.schemasure.com",
  "lastUpdated": "2026-09-18T07:40:57.814Z",
  "quality": {
    "calls30d": 30,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-18T07:40:57.559Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "safefetch.schemasure.com",
    "manifest_name": "safefetch.schemasure.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}