{"slug":"api-onesource-io-api-chain-block-number-44e526","title":"Fetch an Ethereum block header and transaction hashes by number, tag, or hex via","host":"api.onesource.io","method":"GET","resource":"https://api.onesource.io/api/chain/block/:number","category":"market","description":"Fetch an Ethereum block header and transaction hashes by number, tag, or hex via eth_getBlockByNumber","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":754,"reported_calls_30d":633,"reported_payers_30d":632,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","pathParams":{"number":"latest"},"queryParams":{"network":"ethereum"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"properties":{"number":{"oneOf":[{"enum":["latest","pending","earliest","safe","finalized"],"type":"string"},{"pattern":"^(0[xX][a-fA-F0-9]+|[0-9]+)$","type":"string"}]}},"required":["number"],"type":"object"},"queryParams":{"properties":{"network":{"default":"ethereum","enum":["ethereum","sepolia","robinhood"],"type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"description":"Endpoint-specific response payload","properties":{"result":{"properties":{"gasLimit":{"type":"string"},"gasUsed":{"type":"string"},"hash":{"type":"string"},"number":{"type":"string"},"parentHash":{"type":"string"},"timestamp":{"type":"string"},"transactions":{"items":{"type":"string"},"type":"array"}},"type":["object","null"]}},"type":"object"},"error":{"properties":{"code":{"type":"integer"},"message":{"type":"string"}},"type":["object","null"]},"meta":{"properties":{"cost_usdc":{"type":"string"},"endpoint":{"type":"string"},"payment_chain":{"type":"string"},"payment_token":{"type":"string"},"request_id":{"type":"string"}},"required":["endpoint","request_id"],"type":"object"}},"required":["data","meta"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":754,"error":null}],"description_full":"Fetch an Ethereum block header and transaction hashes by number, tag, or hex via eth_getBlockByNumber","last_updated":"2026-09-24T15:35:59.833Z","schemes":["batch-settlement","exact"]}