{"openapi":"3.1.0","info":{"title":"Physics constants","version":"0.1.0","description":"CODATA 2018 physical-constants lookup — resolve any of the fundamental constants by key, symbol or name, search the table, or list them by category. Each result carries the recommended value, unit and relative standard uncertainty.","x-guidance":"CODATA 2018 physical-constants lookup — resolve any of the fundamental constants by key, symbol or name, search the table, or list them by category. Each result carries the recommended value, unit and relative standard uncertainty. Each operation is an HTTP POST to its /v1/<operation> path with a JSON request body (see each operation's requestBody schema) and returns a JSON response. Endpoints are paid per successful call via x402 or MPP (USDC on Base); an unpaid request returns 402 with payment metadata in the WWW-Authenticate header.","contact":{"email":"hello@openverbs.com"}},"x-discovery":{"ownershipProofs":["0xb1401a71756f51464a9962db12f1eb3e9522490cd20010b06d00cf7b7770acfd5f79721f9dfdf2643f8cecd29af3bde9ec133941a386042b32d9886053a70de61b","0xc1c1f11793e18a00fcb7072421f26e89fb75b6aa517fa84370564991f4b10efa024f6f57e4e67eefd20cf46cc01fc5a62d793fa8fbcda04f26c946a3433d73f91b","0x676b474af0ef9ed4809b5d12d2e789b36e52d56215b21f601d71f76620e36ec630347116a7b2b349a3c3681e5db0fbfa76c4169a676b6d6f27864d0e5017284a1c","0xc2ab96522515ed9e9bc4f1a241b774bd48df42e951ddbf7f6aa8fc76f5a96a20421703e1ec402ce7eb1e4eabea3b6e4e4129cf39d56ea91cf4fcf38561fc94fc1c"]},"servers":[{"url":"https://physics.openverbs.com"}],"paths":{"/health":{"get":{"summary":"Health check","security":[],"responses":{"200":{"description":"Healthy","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"service":{"type":"string"},"version":{"type":"string"}}}}}}}}},"/v1/constant":{"post":{"summary":"Constant lookup","description":"Look up a physical constant by its key (e.g. \"speed-of-light\"), symbol (e.g. \"c\") or exact name. Returns the CODATA 2018 recommended value, unit, relative standard uncertainty (0 for values that are exact by SI definition) and category. Paid endpoint (x402 + MPP). Price: $0.004000 USDC per successful payment.","tags":["physical constant lookup","codata constant api","physics constant value","lookup speed of light","scientific constant lookup","constant by symbol"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":60,"description":"Constant key, symbol or exact name."}},"required":["query"],"additionalProperties":false},"example":{"query":"speed-of-light"}}}},"responses":{"200":{"description":"`{ key, symbol, name, value, unit, uncertainty, exact, category }`.","content":{"application/json":{"schema":{"type":"object","description":"`{ key, symbol, name, value, unit, uncertainty, exact, category }`."}}}},"400":{"description":"Invalid request; no payment is attempted"},"402":{"description":"Payment required; x402/MPP metadata returned in headers"},"502":{"description":"Upstream provider error after payment verification"}},"x-payment-info":{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Look up a physical constant by its key (e.g. \"speed-of-light\"), symbol (e.g. \"c\") or exact name. Returns the CODATA 2018 recommended value, unit, relative standard uncertainty (0 for values that are exact by SI definition) and category.","method":"tempo","preferredOffer":"mpp-tempo","price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{"scheme":"exact","network":"eip155:8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"evm","intent":"charge","network":"8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"tempo","intent":"charge","network":"4217","currency":"0x20c000000000000000000000b9537d11c60e8b50","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}}],"network":"4217","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","offers":[{"amount":"4000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Look up a physical constant by its key (e.g. \"speed-of-light\"), symbol (e.g. \"c\") or exact name. Returns the CODATA 2018 recommended value, unit, relative standard uncertainty (0 for values that are exact by SI definition) and category.","intent":"charge","method":"evm","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"},{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Look up a physical constant by its key (e.g. \"speed-of-light\"), symbol (e.g. \"c\") or exact name. Returns the CODATA 2018 recommended value, unit, relative standard uncertainty (0 for values that are exact by SI definition) and category.","intent":"charge","method":"tempo","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}]}}},"/v1/search":{"post":{"summary":"Constant search","description":"Search the constants table by key, symbol or name substring. Exact matches rank first, then prefix matches, then substring matches. Returns up to `limit` constants (default 20) plus the total match count. Paid endpoint (x402 + MPP). Price: $0.004000 USDC per successful payment.","tags":["search physical constants","codata search api","physics constants search","find constant by name","constant name lookup","search by constant symbol"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":60,"description":"Key, symbol or name fragment."},"limit":{"type":"integer","minimum":1,"maximum":42,"description":"Maximum matches to return. Default 20."}},"required":["query"],"additionalProperties":false}}}},"responses":{"200":{"description":"`{ matches:[Constant], count }`.","content":{"application/json":{"schema":{"type":"object","description":"`{ matches:[Constant], count }`."}}}},"400":{"description":"Invalid request; no payment is attempted"},"402":{"description":"Payment required; x402/MPP metadata returned in headers"},"502":{"description":"Upstream provider error after payment verification"}},"x-payment-info":{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Search the constants table by key, symbol or name substring. Exact matches rank first, then prefix matches, then substring matches. Returns up to `limit` constants (default 20) plus the total match count.","method":"tempo","preferredOffer":"mpp-tempo","price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{"scheme":"exact","network":"eip155:8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"evm","intent":"charge","network":"8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"tempo","intent":"charge","network":"4217","currency":"0x20c000000000000000000000b9537d11c60e8b50","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}}],"network":"4217","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","offers":[{"amount":"4000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Search the constants table by key, symbol or name substring. Exact matches rank first, then prefix matches, then substring matches. Returns up to `limit` constants (default 20) plus the total match count.","intent":"charge","method":"evm","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"},{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Search the constants table by key, symbol or name substring. Exact matches rank first, then prefix matches, then substring matches. Returns up to `limit` constants (default 20) plus the total match count.","intent":"charge","method":"tempo","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}]}}},"/v1/list":{"post":{"summary":"Constant list","description":"List every physical constant in the dataset, or only those in a given category (universal, adopted, electromagnetic, atomic, physico-chemical). Returns the constants, the total count and the set of available categories. Paid endpoint (x402 + MPP). Price: $0.004000 USDC per successful payment.","tags":["list physical constants","codata constants list","physics categories api","constants by category","physical constants dataset","browse science constants"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"category":{"type":"string","minLength":1,"maxLength":30,"description":"One of: universal, adopted, electromagnetic, atomic, physico-chemical."}},"additionalProperties":false},"example":{"category":"universal"}}}},"responses":{"200":{"description":"`{ constants:[Constant], count, categories }`.","content":{"application/json":{"schema":{"type":"object","description":"`{ constants:[Constant], count, categories }`."}}}},"400":{"description":"Invalid request; no payment is attempted"},"402":{"description":"Payment required; x402/MPP metadata returned in headers"},"502":{"description":"Upstream provider error after payment verification"}},"x-payment-info":{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"List every physical constant in the dataset, or only those in a given category (universal, adopted, electromagnetic, atomic, physico-chemical). Returns the constants, the total count and the set of available categories.","method":"tempo","preferredOffer":"mpp-tempo","price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{"scheme":"exact","network":"eip155:8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"evm","intent":"charge","network":"8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"tempo","intent":"charge","network":"4217","currency":"0x20c000000000000000000000b9537d11c60e8b50","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}}],"network":"4217","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","offers":[{"amount":"4000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"List every physical constant in the dataset, or only those in a given category (universal, adopted, electromagnetic, atomic, physico-chemical). Returns the constants, the total count and the set of available categories.","intent":"charge","method":"evm","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"},{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"List every physical constant in the dataset, or only those in a given category (universal, adopted, electromagnetic, atomic, physico-chemical). Returns the constants, the total count and the set of available categories.","intent":"charge","method":"tempo","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}]}}}},"x-service-info":{"categories":["science"],"docs":{"homepage":"https://physics.openverbs.com","apiReference":"https://physics.openverbs.com/openapi.json"}}}