{"uid":"cap_VdzFKnR-KCXkxuKUOfd-5","slug":"strale-unit-converter-ddf8a7e9","name":"Strale Unit Converter","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/unit-convert","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","from_unit","to_unit"],"properties":{"value":{"type":"number","description":"Value to convert"},"to_unit":{"type":"string","description":"Target unit (e.g. mi, kg, °F)"},"from_unit":{"type":"string","description":"Source unit (e.g. km, lb, °C)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0216","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KRwOu6cXRqPAa6aQ1ZRJW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a numeric value from one unit of measurement to another (e.g. km to miles, °C to °F, kg to lb)","exampleAgentPrompt":"Convert 72.5 from kilograms to pounds for me.","exampleUseCases":[{"title":"Recipe unit adaptation for cooking","prompt":"I have a recipe that calls for 250 grams of butter — how much is that in ounces?"},{"title":"Distance conversion for travel planning","prompt":"I'm planning a road trip and the route says it's 320 kilometers — can you convert that to miles?"},{"title":"Body temperature unit check","prompt":"My thermometer reads 38.5 degrees Celsius — what is that in Fahrenheit?"}],"resultDescription":"Returns the converted numeric value in the target unit, along with an audit record containing a cryptographic chain hash for provenance verification.","failureModes":["Unsupported or unrecognized unit strings return an error — units must match expected identifiers (e.g. 'km', 'lb', '°C')","Incompatible unit types (e.g. converting kg to km) return a validation error","Missing required query parameters (value, from_unit, to_unit) result in a 400 bad request","Non-numeric value parameter causes a schema validation error"],"whenToPreferThis":"Choose this endpoint when you need a reliable, auditable unit conversion with a cryptographic audit trail — particularly useful in regulated or multi-agent workflows where provenance matters. It covers a broad range of unit types (distance, weight, temperature, volume, etc.) across a consistent REST interface. Prefer it over hardcoded conversion logic when accuracy, auditability, and breadth of unit support are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:06:55.054Z","isFirstParty":false}