{"uid":"cap_rt7TEWowZnmfR0BDbzVON","slug":"basic-utils-agent-length-unit-converter-e4784a06","name":"Basic Utils Agent – Length Unit Converter","description":"A versatile utility agent offering calculator, statistics, datetime, and unit conversion services.","url":"https://basic-utils-agent.up.railway.app/convert/length","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"number","description":"The numeric value to convert"},"source_unit":{"type":"string","description":"The source unit of the value (e.g., 'meters', 'feet', 'kg', 'lbs')"},"target_unit":{"type":"string","description":"The target unit to convert to (e.g., 'kilometers', 'miles', 'grams', 'ounces')"}}},"responseSchema":{"type":"json","example":{"target_unit":"feet","original_unit":"meters","original_value":10,"conversion_rate":3.28084,"converted_value":32.8084}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GkESVzRlfPJcKCmOYNeF1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 one unit to another (e.g., meters to feet, miles to kilometers).","exampleAgentPrompt":"Can you convert 10 meters to feet for me?","exampleUseCases":[{"title":"Imperial to metric length conversion","prompt":"How many kilometers is 26.2 miles? I'm trying to compare a marathon distance in metric units."},{"title":"Construction measurement conversion","prompt":"I need to convert 15 feet 6 inches — so 15.5 feet — into meters for a construction blueprint."},{"title":"Travel distance unit swap","prompt":"Convert 500 kilometers to miles for me — I'm trying to understand how far a road trip is in imperial units."}],"resultDescription":"Returns a JSON object with the original value and unit, the target unit, the conversion rate used, and the converted numeric value — e.g., {original_value: 10, original_unit: 'meters', target_unit: 'feet', conversion_rate: 3.28084, converted_value: 32.8084}.","failureModes":["Unsupported or misspelled unit names return an error or unexpected result","Missing required fields (value, source_unit, target_unit) may cause a 400 error","Incompatible unit types (e.g., converting meters to kilograms) may return an error","Payment failure or insufficient USDC balance results in a 402 response","Network timeout or Railway.app downtime causes a 503 or connection error"],"whenToPreferThis":"Choose this endpoint when you need a simple, fast, programmatic length/distance unit conversion with a clear numeric input and known source and target units. It is well-suited for AI agents automating measurement conversions in workflows, construction tools, travel planners, or scientific applications. Prefer it over general-purpose LLM math when precision and a structured JSON response with the conversion rate are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:49.818Z","isFirstParty":false}