{"uid":"cap_Cb1thGtyjbcbip84by3H5","slug":"seneschal-fee-history-export-d17afa81","name":"Seneschal Fee History Export","description":"Per-block base-fee + blob-fee history export — the top-requested feed on the Seneschal data board. Up to 1024 blocks per call (?blocks=, default 300) straight from consensus via eth_feeHistory, as CSV or JSON lines (?format=csv|jsonl). Columns: block, base fee (wei + gwei), gas_used_ratio, blob base fee, blob_gas_used_ratio. Page backwards with ?newest=<block>; headers carry the consensus next-block projection. Live \"gas right now\" fact: GET /v1/q/base-fee ($0.001).","url":"https://api.seneschal.space/v1/premium/fee-history.csv","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"],"type":"string"},"queryParams":{"type":"object","properties":{"blocks":{"type":"integer","description":"How many blocks (1..1024, default 300)."},"format":{"type":"string","description":"csv (default) or jsonl."},"newest":{"type":"string","description":"\"latest\" (default) or a block number — page backwards by passing oldest_block-1 of the previous page."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"string","description":"text/csv or application/jsonl; one row per block."}}}}},"responseSchema":{"type":"json","example":"block,base_fee_wei,base_fee_gwei,gas_used_ratio,blob_base_fee_wei,blob_base_fee_gwei,blob_gas_used_ratio\n23012001,747213960,0.74721396,0.4993,1,0.000000001,0.25\n"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RxCDRZY8vDexgozkZeXHh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns per-block Ethereum base fee and blob fee history (up to 1024 blocks) as CSV or JSON lines, sourced directly from eth_feeHistory consensus data","exampleAgentPrompt":"Pull me the last 500 blocks of Ethereum base fee and blob fee history in CSV format — I want block number, base fee in gwei, gas used ratio, blob base fee, and blob gas used ratio.","exampleUseCases":null,"resultDescription":"A CSV or JSONL file with one row per block containing: block number, base fee in wei, base fee in gwei, gas_used_ratio, blob base fee, and blob_gas_used_ratio. Response headers include the consensus next-block base fee projection. Up to 1024 rows per call; paginate backwards using the oldest_block-1 as the `newest` parameter on the next call.","failureModes":["blocks parameter out of range (>1024 or <1) — likely 400 error","invalid block number passed to `newest` — bad request","payment not included or insufficient — 402 Payment Required","service unavailable or consensus node unreachable — 503","requesting a block range far in the past that exceeds node history — partial or empty response"],"whenToPreferThis":"Use this endpoint when you need bulk historical Ethereum fee data (base fee + blob fee) for multiple blocks in a single call, especially when you want CSV or JSONL output ready for analysis or storage. Prefer this over a single-block lookup when you need trend analysis, charting, or archiving. It is the canonical feed on Seneschal for fee history and supports pagination for walking further back in history.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:29.315Z","isFirstParty":false}