{"id":46838529,"url":"https://github.com/duneanalytics/cli","last_synced_at":"2026-03-10T12:04:48.298Z","repository":{"id":343243718,"uuid":"1170573912","full_name":"duneanalytics/cli","owner":"duneanalytics","description":"Dune CLI","archived":false,"fork":false,"pushed_at":"2026-03-09T16:23:23.000Z","size":56,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-09T18:29:50.605Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duneanalytics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-02T09:22:37.000Z","updated_at":"2026-03-09T13:49:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/duneanalytics/cli","commit_stats":null,"previous_names":["duneanalytics/cli"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/duneanalytics/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duneanalytics%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duneanalytics%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duneanalytics%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duneanalytics%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duneanalytics","download_url":"https://codeload.github.com/duneanalytics/cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duneanalytics%2Fcli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30332883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-10T12:04:46.272Z","updated_at":"2026-03-10T12:04:48.293Z","avatar_url":"https://github.com/duneanalytics.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dune CLI\n\nA command-line interface for interacting with the [Dune](https://dune.com/) API.\n\n## Installation\n\n```bash\ncurl -sSfL https://github.com/duneanalytics/cli/raw/main/install.sh | bash\n```\n\n## Authentication\n\n```bash\n# Save your API key to ~/.config/dune/config.yaml\ndune auth --api-key \u003ckey\u003e\n\n# Or run interactively (prompts for key)\ndune auth\n\n# Or set via environment variable\nexport DUNE_API_KEY=\u003ckey\u003e\n```\n\nThe `--api-key` flag is available on all commands to override the stored key.\n\n## Commands\n\n### `dune query`\n\nManage and execute Dune queries.\n\n| Command | Description |\n|---------|-------------|\n| `query create --name \u003cname\u003e --sql \u003csql\u003e [--description] [--private] [--temp]` | Create a new saved query |\n| `query get \u003cquery-id\u003e` | Get a saved query's details and SQL |\n| `query update \u003cquery-id\u003e [--name] [--sql] [--description] [--private] [--tags]` | Update an existing query |\n| `query archive \u003cquery-id\u003e` | Archive a saved query |\n| `query run \u003cquery-id\u003e [--param key=value] [--performance medium\\|large] [--limit] [--timeout] [--no-wait]` | Execute a saved query and display results |\n| `query run-sql --sql \u003csql\u003e [--param key=value] [--performance medium\\|large] [--limit] [--timeout] [--no-wait]` | Execute raw SQL directly |\n\n### `dune execution`\n\nManage query executions.\n\n| Command | Description |\n|---------|-------------|\n| `execution results \u003cexecution-id\u003e [--limit] [--offset] [--timeout] [--no-wait]` | Fetch results of a query execution |\n\n### `dune dataset`\n\nSearch the Dune dataset catalog.\n\n| Command | Description |\n|---------|-------------|\n| `dataset search [--query] [--categories] [--blockchains] [--schemas] [--dataset-types] [--owner-scope] [--include-private] [--include-schema] [--include-metadata] [--limit] [--offset]` | Search for datasets |\n| `dataset search-by-contract --contract-address \u003caddress\u003e [--blockchains] [--include-schema] [--limit] [--offset]` | Search for decoded tables by contract address |\n\nCategories: `canonical`, `decoded`, `spell`, `community`\n\n### `dune docs`\n\nSearch and browse Dune documentation. No authentication required.\n\n| Command | Description |\n|---------|-------------|\n| `docs search --query \u003ctext\u003e [--api-reference-only] [--code-only]` | Search the Dune documentation |\n\n### `dune usage`\n\nShow credit and resource usage for your account.\n\n```bash\ndune usage [--start-date YYYY-MM-DD] [--end-date YYYY-MM-DD]\n```\n\n## Output Format\n\nAll commands (except `auth`) support `-o, --output \u003cformat\u003e` with `text` (default) or `json`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduneanalytics%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduneanalytics%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduneanalytics%2Fcli/lists"}