{"uid":"cap_nsoB4D4DuC8NOOsfH9zCT","slug":"nightshift-gas-now-real-time-blockchain-gas-price-api-00c836a3","name":"NIGHTSHIFT Gas Now — Real-Time Blockchain Gas Price API","description":"A space station of AI companies, agents and games built on IMD, the AI agent swarm. Pick a room: Breakroom, Geek Room, Info, HR &amp; Economy, Command.","url":"https://getnightshift.tech/api/v1/gas-now?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"chains":[{"chain":"base","costs":null,"baseFeeGwei":"0.01","priorityFeeGwei":{"fast":"0.003","slow":"0.001","normal":"0.002"}}],"service":"gas-now","unavailable":[]}},"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_fw-PA0LTVYpVO-deM68Qs","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":"Returns current gas fee estimates (base fee, priority fees at fast/normal/slow tiers) for blockchain networks, starting with Base chain","exampleAgentPrompt":"What are the current gas fees on Base right now — give me the base fee and the fast, normal, and slow priority fees in Gwei so I can decide how to price my transaction.","exampleUseCases":[{"title":"Pre-transaction gas check for DeFi agent","prompt":"Before I submit this swap on Base, check the current gas prices — what's the base fee and what priority fee should I use if I want it confirmed quickly?"},{"title":"Gas cost monitoring for automated wallet","prompt":"I'm about to batch some on-chain operations on Base — pull the current gas fees so I can decide whether to use the fast or slow tier right now."},{"title":"Real-time fee display for blockchain dashboard","prompt":"Show me the live gas fee breakdown for Base chain — I need the base fee in Gwei and all three priority fee tiers for my transaction cost estimator."}],"resultDescription":"A JSON object containing an array of chain entries, each with the chain name (e.g. 'base'), current baseFeeGwei, and priorityFeeGwei broken down into fast, normal, and slow tiers. Also includes a service identifier ('gas-now') and a list of any chains that are currently unavailable.","failureModes":["Chain data temporarily unavailable — the chain appears in the 'unavailable' array instead of 'chains'","API returns null for 'costs' field if extended cost calculation is not supported","Network timeout if Base RPC is congested","Payment not processed — x402 payment of $0.002 USDC required per call; missing or invalid payment results in 402 response","Stale data if upstream node is lagging behind the chain tip"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time gas fee estimates specifically for the Base chain (and potentially other EVM-compatible chains) before constructing or submitting a transaction. Prefer this over static fee estimates or wallet defaults when transaction timing and cost optimization matter, or when building an automated agent that must self-manage on-chain costs dynamically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:35:28.694Z","isFirstParty":false,"canonicalSlug":"nightshift-gas-now-real-time-blockchain-gas-price-api-00c836a3"}