{"uid":"cap_XRsbdiWnQ5LquOl29vifg","slug":"domain-extract-tool-gpt-5-5-x402-gateway-97b04edf","name":"Domain Extract Tool – GPT-5.5 x402 Gateway","description":"Extract hostname, labels, subdomain, and a naive last-two-label registrable domain from a URL or hostname without DNS or upstream model calls. Pay up to $0.001 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.","url":"https://gpt55.558686.xyz/v1/tools/domain-extract","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","additionalProperties":true},"queryParams":{"type":"object","properties":{"url":{"type":"string","maxLength":2048},"hostname":{"type":"string","maxLength":253}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"fetchedAt":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"url":"https://www.example.co.uk/some/path?query=1"}}},"response":{"ok":true,"tool":"domainExtract","domain":"co.uk","labels":["www","example","co","uk"],"hostname":"www.example.co.uk","fetchedAt":"2026-06-18T06:24:01.150Z","subdomain":"www.example"}},"exampleRequest":{"url":"https://www.example.co.uk/some/path?query=1"},"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VjUvMgAvQEKNhSuTgArRo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the host and naive domain parts from a given URL or hostname via a micropayment-gated GET endpoint.","exampleAgentPrompt":"Can you extract the domain parts and hostname from this URL: https://www.example.co.uk/some/path?query=1","exampleUseCases":null,"resultDescription":"A JSON object with ok (boolean), tool name ('domainExtract'), a summary string, and the extracted host and naive domain parts from the provided URL or hostname, plus a fetchedAt timestamp.","failureModes":["Missing required 'url' or 'hostname' query parameter returns an error response","Invalid or malformed URL input may yield partial or empty domain parts","Payment failure via x402/USDC on Base results in 402 response and no data returned","URL exceeding 2048 characters is rejected by schema validation","Hostname exceeding 253 characters is rejected"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap ($0.0001 USDC) programmatic extraction of host and domain components from a URL or hostname, especially in a micropayment/x402-enabled agent workflow where no subscription is desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:48:00.839Z","isFirstParty":false}