{"uid":"cap_7m7t9sDk9hITy7YrImncI","slug":"delx-commerce-url-origin-extractor-0f796824","name":"Delx Commerce URL Origin Extractor","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/url-origin?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Input field: url."}}},"responseSchema":{"type":"json","example":{"ok":true,"host":"api.delx.ai","port":443,"origin":"https://api.delx.ai:443","schema":"delx/util-url-origin/v1","scheme":"https"}},"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__RR1lQaDe-ixH1A_HeP2I","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":"Parses a URL string and returns its normalized origin components (scheme, host, port, and full origin string)","exampleAgentPrompt":"Can you extract the origin — scheme, host, and port — from the URL https://api.example.com:8080/some/path?query=1 and tell me what the normalized origin string is?","exampleUseCases":[{"title":"CORS policy origin validation","prompt":"I need to verify the exact origin string for https://payments.myapp.com/checkout/process before I configure CORS headers — can you extract the scheme, host, and port from that URL?"},{"title":"Normalizing API base URLs","prompt":"I have this messy URL https://data.service.io:443/v2/endpoint?token=abc and I want to know the clean normalized origin to use as the base for all my API calls."},{"title":"Security audit URL decomposition","prompt":"For our security review, can you break down https://internal.corp.net:8443/admin into its host, port, and origin so I can add it to the allowlist?"}],"resultDescription":"Returns a JSON object with a boolean 'ok' field indicating success, the 'host' (e.g. api.delx.ai), 'port' (integer), 'origin' (full origin string like https://api.delx.ai:443), 'scheme' (e.g. https), and a 'schema' identifier string referencing the response format version.","failureModes":["Invalid or malformed URL input returns an error or ok:false","Missing 'url' field in request body causes a 400-level error","Non-HTTP/HTTPS schemes may not be supported or return unexpected results","Network or service downtime returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call, no-signup utility to reliably parse and normalize a URL into its canonical origin components. Prefer it over rolling your own URL parsing logic when you need a verifiable, deterministic result with micropayment billing via USDC on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:40.330Z","isFirstParty":false,"canonicalSlug":"delx-commerce-url-origin-extractor-0f796824"}