New: LI.FI's API for Agentic Commerce is live — MCP Server, Agent Skills, and AI-first docs. Learn more
curl --request GET \
--url https://li.quest/v1/gas/prices/{chainId}{
"standard": 123,
"fast": 123,
"fastest": 123,
"lastUpdated": 123
}This endpoint can be used to get the most recent gas prices for the supplied chainId.
curl --request GET \
--url https://li.quest/v1/gas/prices/{chainId}{
"standard": 123,
"fast": 123,
"fastest": 123,
"lastUpdated": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.li.fi/llms.txt
Use this file to discover all available pages before exploring further.
Authentication header, register in the LI.FI Partner Portal (https://portal.li.fi/ ) to get your API Key.
ChaindId from which gas prices should be shown