{"uid":"cap_n7zlEz6laFeUfmCgXeVqw","slug":"forest-gas-station-url-preflight-19c89995","name":"Forest Gas Station URL Preflight","description":"Inspect a public URL with HEAD; GET only on 405/501. Return origin status, final URL, headers, cache validators and up to 5 redirects. Limits: 8s, 2 MiB. Origin 4xx/5xx are observations; length is unverified and SHA256 covers only complete GET bodies. No JavaScript, login or availability guarantee. Base mainnet USDC","url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/url/preflight?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?://","maxLength":2048,"minLength":1,"description":"Absolute public HTTP(S) URL on port 80/443. No credentials. Private/reserved DNS/IPs and HTTPS downgrades rejected."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_clPC0cFJVezi_Ea1ztdv5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a bounded HTTP HEAD/GET preflight on a public URL, returning origin status, final URL, redirect chain, response headers, cache validators, and optional SHA256 body hash.","exampleAgentPrompt":"Can you do a preflight check on https://example.com/report.pdf and tell me the final URL, HTTP status, and what Content-Type header it returns?","exampleUseCases":[{"title":"Verify redirect chain before crawling","prompt":"Before I scrape that page, can you check https://bit.ly/3xYzAbc and tell me where it ultimately redirects to and whether the final URL is returning a 200?"},{"title":"Cache header inspection for CDN audit","prompt":"Can you probe https://assets.mycdn.com/bundle.js and tell me what Cache-Control and ETag headers the server is returning?"},{"title":"Pre-flight link validation for newsletter","prompt":"I have a link I'm about to include in my newsletter — can you quickly check if https://mybrand.com/promo-2024 is live, what status it returns, and whether it redirects anywhere?"}],"resultDescription":"Returns the HTTP status code, final resolved URL, up to 5 redirect hops, all response headers, cache validators (ETag, Last-Modified), content length (unverified), and SHA256 hash of the body (only for complete GET responses where HEAD returned 405/501). Response is bounded to 8 seconds and 2 MiB. Origin 4xx/5xx errors are reported as observations rather than API failures.","failureModes":["Invalid or non-public URL (private IP, reserved DNS, credentials included) — rejected before network call, not settled","Timeout after 8 seconds — request fails, not charged","Response body exceeds 2 MiB cap — truncated, SHA256 not computed","Origin server returns 4xx/5xx — reported as observation, still charged on success path","HTTPS downgrade attempt rejected","Non-port-80/443 URLs rejected"],"whenToPreferThis":"Choose this endpoint when you need lightweight HTTP metadata about a URL — status, headers, redirects, cache validators — without downloading the full body. Ideal as a pre-flight step before heavier scraping or download operations, or for validating that a link is live and resolves correctly. Prefer this over full-page scrapers when you only need HTTP-level metadata, not page content or JavaScript-rendered output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:38:09.460Z","isFirstParty":false,"canonicalSlug":"forest-gas-station-url-preflight-19c89995"}