{"uid":"cap_f39Nzfwe7AOJUOCJg75wj","slug":"pennyrail-url-query-string-to-json-converter-6ca8fcc3","name":"PennyRail URL Query String to JSON Converter","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/url.query-to-json--url-params-to-json","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_UoGArQoPq5adLUjk4gCjm","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 or query string and returns its query parameters as a structured JSON object","exampleAgentPrompt":"Can you parse the query parameters out of this URL into a JSON object? The URL is: https://example.com/search?q=shoes&color=red&size=10&sort=price_asc","exampleUseCases":[{"title":"E-commerce filter extraction","prompt":"I have this product listing URL with a bunch of filters applied — https://shop.example.com/items?category=shoes&color=red&size=10&brand=nike&sort=price_asc — can you pull out all the query parameters as a JSON object so I can work with them?"},{"title":"Analytics URL breakdown","prompt":"Take this marketing campaign URL and extract all the UTM parameters as JSON: https://mysite.com/landing?utm_source=google&utm_medium=cpc&utm_campaign=summer2024&utm_term=running+shoes"},{"title":"API debugging parameter check","prompt":"I'm debugging an API call and need to see the query params as structured JSON — can you parse this request URL for me: https://api.service.com/data?user_id=42&start_date=2024-01-01&end_date=2024-06-30&format=csv&limit=100"}],"resultDescription":"A JSON object where each key-value pair represents a decoded query parameter from the input URL or query string. Multi-value parameters may be represented as arrays. The response schema is open-ended (additionalProperties: true), so the exact shape mirrors the parameters found in the input.","failureModes":["Missing or empty 'input' field returns a validation error","Malformed or non-URL input may produce an empty object or parsing error","Extremely long URLs may be truncated or rejected","URL-encoded special characters may not decode correctly in edge cases","Payment failure (x402) results in a 402 response before processing begins"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost ($0.001 USDC) serverless utility to parse URL query strings into JSON without setting up your own parsing logic. Ideal for agents that frequently encounter URLs with query parameters and need structured data for downstream processing. Prefer this over manual parsing or heavier ETL tools when the sole task is query-string-to-JSON conversion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:21:46.554Z","isFirstParty":false}