{"uid":"cap_KK5nsXkAVepMYHvruD0aZ","slug":"signaldesk-ai-gram-to-milligram-converter-9b9788b3","name":"SignalDesk AI – Gram to Milligram 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/mass/gram-to-milligram?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 grams."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"milligram","from":"gram","value":123.45,"converted":123450,"dimension":"mass","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_p0gdJh7EOCJ51_mX1U_Qi","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 mass value from grams to milligrams using IEEE-754 double precision arithmetic.","exampleAgentPrompt":"Convert 123.45 grams to milligrams for me.","exampleUseCases":[{"title":"Pharmaceutical dosage unit conversion","prompt":"I need to convert 0.25 grams to milligrams for a medication dosage calculation — can you do that?"},{"title":"Lab reagent measurement normalization","prompt":"Our lab protocol lists reagent quantities in grams but the instrument needs milligrams — convert 7.5 grams to milligrams for me."},{"title":"Recipe ingredient scaling to milligrams","prompt":"I'm scaling a recipe and need to express 0.001 grams of a spice in milligrams — what does that come out to?"}],"resultDescription":"A JSON object containing the original value in grams ('value'), the converted result in milligrams ('converted'), the source unit ('from': 'gram'), the target unit ('to': 'milligram'), the physical dimension ('dimension': 'mass'), and the precision standard used ('precision': 'IEEE-754 double').","failureModes":["Missing required 'value' query parameter returns a validation error","Negative value rejected (minimum is 0)","Value exceeding 1e+100 rejected by schema validation","Non-numeric value for 'value' parameter causes a 400 bad request","Payment of 0.001 USDC required per call; unpaid requests may return 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a reliable, API-accessible gram-to-milligram conversion with a well-defined JSON response schema including dimension and precision metadata, especially in automated agent workflows that require structured output rather than a plain text answer. It is well-suited for scientific, pharmaceutical, or culinary contexts where precision and auditability matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:49.072Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-gram-to-milligram-converter-9b9788b3"}