{"uid":"cap_1ehWcUTi5_aLJOrhGSJP_","slug":"lilambd-constants-lookup-by-id-f6e8ef0f","name":"lilambd Constants Lookup by ID","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/units/constants/%7Bid%7D?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","queryParams","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}},"queryParams":{"type":"object","required":[],"properties":{},"additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[],"count":0,"attribution":"source licence line"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_USw0H0S6JdBfT2OyJSsgy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves a named physical or mathematical constant by its identifier from the lilambd constants database","exampleAgentPrompt":"Can you look up the physical constant with ID 'planck' from the lilambd constants database and give me its value and attribution?","exampleUseCases":[{"title":"Retrieve Boltzmann constant for simulation","prompt":"I need the value and source attribution for the Boltzmann constant — can you fetch it from the constants database using its ID 'boltzmann'?"},{"title":"Cite a constant in a scientific document","prompt":"Pull the constant with ID 'speed_of_light' from lilambd so I can include its value and proper licence attribution in my paper."},{"title":"Verify a mathematical constant's exact value","prompt":"What's the exact value stored in the lilambd constants database for the constant ID 'euler_number', and where does the data come from?"}],"resultDescription":"Returns a JSON object with a 'data' array containing the constant's details, a 'count' of results returned, and an 'attribution' string with the source licence line for the constant data.","failureModes":["Unknown or invalid constant ID returns empty data array with count 0","Malformed path parameter may result in a 404 or error response","Payment failure (x402) prevents access to the endpoint","No schema-level validation on query params may cause silent ignoring of extras"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve a specific physical, mathematical, or scientific constant by a known identifier and require source attribution alongside the value. Prefer this over manual lookup when building scientific computation pipelines, citation tools, or educational apps that need verified constant values with licence information.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:39.117Z","isFirstParty":false,"canonicalSlug":"lilambd-constants-lookup-by-id-f6e8ef0f"}