{"uid":"cap_8cl7xCBlYYanb6AWXohja","slug":"basic-utils-agent-weight-unit-conversion-19c782e0","name":"Basic Utils Agent – Weight Unit Conversion","description":"A versatile utility agent offering calculator, statistics, datetime, and unit conversion services.","url":"https://basic-utils-agent.up.railway.app/convert/weight","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":"pounds","original_unit":"kilograms","original_value":1,"conversion_rate":2.20462,"converted_value":2.20462}},"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_sorVoDPZxqNJOlPcH9P_3","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 weight value from one unit to another (e.g., kilograms to pounds, grams to ounces) and returns the converted value along with the conversion rate.","exampleAgentPrompt":"Can you convert 75 kilograms to pounds for me?","exampleUseCases":[{"title":"Recipe ingredient weight conversion","prompt":"I have a recipe that calls for 200 grams of flour — how many ounces is that?"},{"title":"Fitness tracking unit switch","prompt":"My gym app shows my bodyweight as 185 pounds, but I want to track it in kilograms — what's that in kg?"},{"title":"Shipping package weight check","prompt":"I need to ship a package that weighs 4.5 kilograms — can you convert that to pounds so I can fill out the US shipping form?"}],"resultDescription":"Returns a JSON object containing the original value and unit, the target unit, the conversion rate between the two units, and the final converted numeric value. Example: converting 1 kg to pounds returns a converted_value of 2.20462 with a conversion_rate of 2.20462.","failureModes":["Unsupported or misspelled unit names (e.g. 'kilo' instead of 'kilograms') may return an error or unexpected result","Missing required fields (value, source_unit, or target_unit) will likely cause a 400 or validation error","Attempting to convert between incompatible measurement types (e.g., weight to length) will fail","Extremely large or small numeric values may produce floating-point precision issues","Non-numeric value inputs will cause schema validation failures","Payment failure (402) if USDC payment is not included or insufficient"],"whenToPreferThis":"Choose this endpoint when you need a fast, programmatic weight unit conversion with an explicit conversion rate returned — especially useful in agent workflows where you need both the converted value and the rate for further calculations. Prefer it over general-purpose LLM math when precision and structured output are required. Best suited for single weight conversions; not designed for batch or non-weight unit types.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:31:20.397Z","isFirstParty":false}