{"uid":"cap_36wKuspXfaOl8jMLi8OgA","slug":"signaldesk-ai-kilometer-to-astronomical-unit-converter-70d3344e","name":"SignalDesk AI – Kilometer to Astronomical Unit 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/length/kilometer-to-astronomical-unit?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 kilometres."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"astronomical-unit","from":"kilometer","value":123.45,"converted":8.252122802440396e-7,"dimension":"length","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_jAdF2KFknSjNzK0pcHfxR","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 distance value in kilometers to astronomical units (AU) using IEEE-754 double precision arithmetic.","exampleAgentPrompt":"Convert 149,597,870.7 kilometers to astronomical units for me.","exampleUseCases":[{"title":"Spacecraft distance in AU","prompt":"The probe is currently 780,000,000 km from Earth — how many astronomical units is that?"},{"title":"Solar system scale calculation","prompt":"I need to express 384,400 kilometers (the Moon's distance from Earth) in astronomical units."},{"title":"Astronomy homework unit check","prompt":"My textbook says the comet is 2.5 billion km away — can you tell me what that is in AU?"}],"resultDescription":"Returns a JSON object with the original value in kilometers, the converted value in astronomical units (IEEE-754 double precision), the source and target unit labels ('kilometer' and 'astronomical-unit'), and the dimension name ('length').","failureModes":["Missing or non-numeric 'value' query parameter returns a validation error","Value below 0 or above 1e+100 is rejected by schema constraints","Payment not provided or insufficient USDC triggers a 402 Payment Required response","Network or Cloudflare Worker timeout on heavy load"],"whenToPreferThis":"Use this endpoint when you need a precise, pay-per-call kilometer-to-AU conversion without setting up a local math library — especially useful in agent pipelines that handle astronomy, space mission data, or physics calculations and already operate within an x402 micropayment flow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:04.493Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-kilometer-to-astronomical-unit-converter-70d3344e"}