{"uid":"cap_tJcD8g-hpqg4aqfBcCn7p","slug":"whatchuneed-url-parse-utility-fa2f9784","name":"WhatChuNeed URL Parse Utility","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/util/url-parse","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"Request input"}}},"responseSchema":{"type":"object","properties":{"result":{"type":"object","description":"Response data"},"status":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GrC6JsOXI-Hf9dKkX_RPe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and extracts structured components from a URL string, returning parsed URL data as a structured object.","exampleAgentPrompt":"Can you parse this URL for me — https://example.com/products?id=42&ref=home#section2 — and pull out the hostname, path, and query parameters?","exampleUseCases":[{"title":"Extract query params from redirect URL","prompt":"I have this URL from a redirect: https://shop.example.com/checkout?cart_id=abc123&promo=SAVE10&source=email — can you break out all the query parameters for me?"},{"title":"Identify domain from raw link","prompt":"Here's a URL someone pasted: https://cdn.media-platform.net/assets/images/hero.png — what's the hostname and file path in there?"},{"title":"Validate URL structure before processing","prompt":"Before I send this URL to our pipeline, can you parse https://api.partner.io/v2/data?token=xyz&format=json to confirm it has a valid protocol, host, and path?"}],"resultDescription":"Returns a structured object containing parsed URL components such as protocol, hostname, port, pathname, query parameters (search string), and hash fragment extracted from the input URL string.","failureModes":["Malformed or unparseable URL input returns an error status","Missing required 'input' field causes a 400-level validation error","Relative URLs without a protocol may fail to parse correctly","Very long or unusual URL strings may produce unexpected results"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call URL parsing utility without standing up your own parsing logic, especially within an AI agent pipeline that already uses the whatchuneed x402 payment infrastructure for other utility calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:57:47.132Z","isFirstParty":false}