{"uid":"cap_G4CEVEhvfZwjs9D8rLUNr","slug":"delx-query-string-107f5e0b","name":"Delx Query String","description":"Parse or build URL query strings for $0.001 USDC.","url":"https://api.delx.ai/api/v1/x402/query-string","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"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_17R2BYKUansoTsgbw1fKR","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":"Parse a URL query string into structured key-value pairs, or build a query string from structured data.","exampleAgentPrompt":"Parse this query string into its individual parameters for me: 'utm_source=newsletter&utm_medium=email&campaign=spring2025&ref=home'","exampleUseCases":[{"title":"Extract UTM parameters from campaign URL","prompt":"I have this URL query string from a campaign link — 'utm_source=google&utm_medium=cpc&utm_campaign=launch&utm_content=banner' — can you parse it out into separate key-value pairs so I can log them?"},{"title":"Build query string for API request","prompt":"I need to build a URL query string from these parameters: search term is 'blue sneakers', page is 2, sort is 'price_asc', and max_price is 150. Can you encode that into a proper query string?"},{"title":"Decode percent-encoded URL parameters","prompt":"This query string has weird percent-encoded characters in it — 'q=hello%20world&tag=caf%C3%A9&redirect=%2Fhome' — can you decode it into readable key-value pairs?"}],"resultDescription":"Returns either a structured key-value object representing parsed query parameters, or a properly encoded query string built from the provided input parameters, depending on the operation requested.","failureModes":["Malformed input query string may return a parsing error or partial result","Invalid characters or encoding may cause encode/decode failures","Missing required operation type (parse vs. build) may result in a 400 error","Empty input string may return an empty result or error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call utility to parse or construct URL query strings without running your own parsing logic. Ideal for agents that frequently handle URLs, form submissions, or HTTP request building and want a reliable hosted utility at low cost ($0.001 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:03:21.093Z","isFirstParty":false}