{"uid":"cap_r1Q2oQynQldyVRNFLfW4z","slug":"x402-web-inspect-endpoint-087005f5","name":"X402 Web Inspect Endpoint","description":"Pay-per-request data tools for AI agents.","url":"https://x402.feld-feder.at/v1/web/inspect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","title":"WebUrlRequest","required":["url"],"properties":{"url":{"type":"string","title":"Url","maxLength":4096,"minLength":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"ResponseEnvelope[WebInspectionResult]","required":["data"],"properties":{"ok":{"type":"boolean","const":true,"title":"Ok","default":true},"data":{"type":"object","title":"WebInspectionResult","required":["requested_url","final_url","retrieved_at","status_code","content_type","content_bytes","content_hash","redirect_count","duration_ms","headers"],"properties":{"headers":{"type":"array","items":{"type":"object","title":"InspectionHeader","required":["name","value"],"properties":{"name":{"type":"string","title":"Name"},"value":{"type":"string","title":"Value"}},"additionalProperties":false},"title":"Headers"},"final_url":{"type":"string","title":"Final Url"},"duration_ms":{"type":"number","title":"Duration Ms","minimum":0},"status_code":{"type":"integer","title":"Status Code","maximum":599,"minimum":100},"content_hash":{"type":"string","title":"Content Hash","pattern":"^sha256:[0-9a-f]{64}$"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"retrieved_at":{"type":"string","title":"Retrieved At","format":"date-time"},"content_bytes":{"type":"integer","title":"Content Bytes","minimum":0},"requested_url":{"type":"string","title":"Requested Url"},"redirect_count":{"type":"integer","title":"Redirect Count","minimum":0}},"additionalProperties":false},"cache":{"anyOf":[{"type":"object","title":"CacheInfo","required":["hit"],"properties":{"hit":{"type":"boolean","title":"Hit"},"age_seconds":{"type":"integer","title":"Age Seconds","default":0,"minimum":0}}},{"type":"null"}],"default":null},"source":{"anyOf":[{"type":"object","title":"SourceInfo","required":["requested_url","final_url","retrieved_at"],"properties":{"final_url":{"type":"string","title":"Final Url"},"status_code":{"anyOf":[{"type":"integer","maximum":599,"minimum":100},{"type":"null"}],"title":"Status Code","default":null},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Hash","default":null},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type","default":null},"retrieved_at":{"type":"string","title":"Retrieved At","format":"date-time"},"requested_url":{"type":"string","title":"Requested Url"},"redirect_count":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Redirect Count","default":null}}},{"type":"null"}],"default":null},"_payment":{"anyOf":[{"type":"object","title":"PaymentInfo","required":["amount_usdc","network"],"properties":{"network":{"type":"string","title":"Network"},"amount_usdc":{"anyOf":[{"type":"number","minimum":0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Usdc"},"transaction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction","default":null}}},{"type":"null"}],"default":null},"warnings":{"type":"array","items":{"type":"object","title":"WarningInfo","required":["code","message"],"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}}},"title":"Warnings"},"provenance":{"type":"array","items":{"type":"string"},"title":"Provenance"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"headers":[],"final_url":"https://example.com","duration_ms":0,"status_code":200,"content_hash":"sha256:0000000000000000000000000000000000000000000000000000000000000000","content_type":"text/html","retrieved_at":"2026-01-01T00:00:00Z","content_bytes":0,"requested_url":"https://example.com","redirect_count":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WB60mXaSaZ7mZvaFXFbr0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a URL via HTTP POST/PUT/PATCH and returns detailed response metadata including status code, headers, content hash, redirect count, and content size.","exampleAgentPrompt":"Inspect https://api.example.com/webhook with a POST request and a JSON body containing {\"event\": \"test\"}, and tell me the HTTP status code, response headers, content hash, and how many redirects happened.","exampleUseCases":[{"title":"Verify webhook endpoint is live","prompt":"Check if https://my-service.com/webhook is up and accepting POST requests — send a JSON body with {\"ping\": true} and tell me the status code, how long it took, and what headers came back."},{"title":"Detect content changes via hash","prompt":"Fetch https://data.partner.com/feed with a POST request and a JSON body of {\"format\": \"json\"}, then give me the SHA-256 hash of the response so I can compare it to last week's hash and see if anything changed."},{"title":"Debug redirect chain for API endpoint","prompt":"Inspect https://api.legacy-service.io/submit using a POST request with form-data body containing field=value, and tell me the final URL it landed on, how many redirects occurred, and what the status code was."}],"resultDescription":"Returns a JSON object with: the originally requested URL, the final URL after any redirects, HTTP status code, content type, content size in bytes, a SHA-256 hash of the response body, the number of redirects followed, response duration in milliseconds, the timestamp of retrieval, and all response headers as name-value pairs.","failureModes":["Target URL is unreachable or times out — likely returns an error or non-2xx status","Invalid or malformed URL input — schema validation error","Target server returns unexpected content type or empty body — content_bytes may be 0","Redirect loop causes failure — redirect_count may be high","Payment failure (x402 protocol) — request not processed if USDC payment is not completed"],"whenToPreferThis":"Choose this endpoint when you need to probe a URL that requires a POST, PUT, or PATCH request rather than a simple GET — for example, when testing webhook endpoints, form submissions, or APIs that only accept non-GET methods. It is especially useful when you need metadata about the response (headers, hash, redirects, timing) rather than the full response body, and when you want a pay-per-use model with no subscription overhead via the x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:28:03.251Z","isFirstParty":false,"canonicalSlug":"x402-web-inspect-endpoint-087005f5"}