You must pass parameter query_id. Returns the latest execution id and results (in JSON) of that latest run, regardless of the job id/run or if it is run in the app or the api. The query specified must either be public or a query you have ownership of (you or a team you belong to have ownership).Documentation Index
Fetch the complete documentation index at: https://dune-tables-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Dune internally has a maximum query result size limit (which currently is 8GB, but subject to increase in the future). If your query yields more than 8GB of data, the result will be truncated in storage. In such cases, pulling the result data (using pagination) but without specifying
allow_partial_resultsset to true will trigger an error message: “error”: “Partial Result, please request with ‘allows_partial_results=true’”. If you wish to retrieve partial results, you can pass the parameterallow_partial_results=true. But please make sure you indeed want to fetch the truncated result. - We recommend reading about Pagination to get the most out of the API and handle large results.
Execute query and get result in one call
Execute query and get result in one call
Python SDK
run_query to get result in JSON,
run_query_csv to get result in CSV format,
and run_query_dataframe to get result in Pandas dataframe
