{"uid":"cap_P_PjnNMhDMP7eLxVD-VhB","slug":"liter-to-imperial-gallon-converter-2665cb33","name":"Liter to Imperial Gallon Converter","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/units/volume/liter-to-imperial-gallon?utm_source=zero.xyz","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"},"queryParams":{"type":"object","required":["value"],"properties":{"value":{"type":"number","maximum":1e+100,"minimum":0,"description":"Amount in litres."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"imperial-gallon","from":"liter","value":123.45,"converted":27.15520370252239,"dimension":"volume","precision":"IEEE-754 double"}},"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_4ybtl8pv5YfuMF2ivFQPW","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":"Converts a volume value from liters to imperial gallons using IEEE-754 double precision arithmetic.","exampleAgentPrompt":"Convert 123.45 liters to imperial gallons for me.","exampleUseCases":[{"title":"Recipe scaling for UK measures","prompt":"I have a recipe that calls for 3.5 liters of liquid — how many imperial gallons is that?"},{"title":"Fuel tank volume check","prompt":"My car's fuel tank holds 60 liters; how many imperial gallons is that?"},{"title":"Industrial container capacity conversion","prompt":"We have a vat that holds 500 liters — what's that in imperial gallons for our UK distributor's paperwork?"}],"resultDescription":"A JSON object containing the original value in liters, the converted value in imperial gallons (IEEE-754 double precision), the source and target unit labels ('liter' and 'imperial-gallon'), and the dimension category ('volume').","failureModes":["Missing required 'value' query parameter returns an error","Negative value rejected (minimum is 0)","Value exceeding 1e+100 rejected by schema validation","Non-numeric value for 'value' parameter causes a validation error","Service downtime or quota exhaustion may return HTTP 402 or 5xx"],"whenToPreferThis":"Use this endpoint when you specifically need liter-to-imperial-gallon (UK gallon) conversion with a precise IEEE-754 double result and a structured JSON response. Prefer this over manual calculation when building automated pipelines or agents that need auditable, consistent volume conversions. Note: this converts to imperial gallons (UK), not US gallons — choose accordingly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:35:19.586Z","isFirstParty":false,"canonicalSlug":"liter-to-imperial-gallon-converter-2665cb33"}