{"uid":"cap_sJq6SmXrkn-UMTH-QQzDx","slug":"agent402-tools-yards-to-miles-converter-34e0c5cd","name":"agent402.tools Yards to Miles Converter","description":"Convert yards to miles (length). Pass ?value=N.","url":"https://agent402.tools/api/convert/yards-to-miles","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"],"type":"string"},"queryParams":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"Numeric value to convert"}}}},"additionalProperties":false}}},"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":"down","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_BQLza7mdN4wsHL72NJ6P6","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 numeric length value from yards to miles via a simple GET query parameter.","exampleAgentPrompt":"How many miles is 8800 yards? Can you convert that for me?","exampleUseCases":null,"resultDescription":"Returns the numeric equivalent of the input yard value expressed in miles, computed via the yards-to-miles conversion factor (1 yard = 0.000568182 miles).","failureModes":["Missing 'value' query parameter returns an error","Non-numeric value passed causes a parsing or validation error","Negative or zero values may return unexpected results depending on server handling","Payment not attached or insufficient USDC causes 402 response blocking the request"],"whenToPreferThis":"Use this endpoint when you need a precise, on-demand conversion from yards to miles without doing local math, especially within an automated agent workflow that already uses the x402 payment rail on agent402.tools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:27:57.158Z","isFirstParty":false}