Dune Analytics · Schema

PostV1QueryRequest

CompanyBlockchainDataAnalyticsCrypto

Properties

Name Type Description
name string The name of the created query.
query_sql string The SQL of the query.
description string The description of the created query.
is_private boolean Indicates if the query is private, meaning that only the team or, in case of personal queries, the user that created it can see it.
is_temp boolean Indicates if the query is temporary (unsaved). Temporary queries can be executed but won't appear in the library.
parameters array The parameters that the SQL query accepts.
tags array The tags of the query.
View JSON Schema on GitHub

JSON Schema

duneanalytics-com-post-v1-query-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/duneanalytics-com/main/json-schema/duneanalytics-com-post-v1-query-request-schema.json",
  "title": "PostV1QueryRequest",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/duneanalytics-com-openapi-generated.yml#/components/schemas/PostV1QueryRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the created query."
    },
    "query_sql": {
      "type": "string",
      "description": "The SQL of the query."
    },
    "description": {
      "type": "string",
      "description": "The description of the created query."
    },
    "is_private": {
      "type": "boolean",
      "description": "Indicates if the query is private, meaning that only the team or, in case of personal queries, the user that created it can see it."
    },
    "is_temp": {
      "type": "boolean",
      "description": "Indicates if the query is temporary (unsaved). Temporary queries can be executed but won't appear in the library."
    },
    "parameters": {
      "type": "array",
      "description": "The parameters that the SQL query accepts."
    },
    "tags": {
      "type": "array",
      "description": "The tags of the query."
    }
  },
  "required": [
    "name",
    "query_sql"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/duneanalytics-com-post-v1-query-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.