Skip to content

Quickstart

Kane Liu edited this page Nov 29, 2026 · 1 revision

Quickstart

Set up

  1. Create an account at shop.opendata.best and generate an API key (odk_...).
  2. Add it as a repository secret named OPENDATA_API_KEY (Settings → Secrets and variables → Actions).
  3. Add a step:
- uses: kaneliu120/opendata-best-action@v1
  with:
    dataset: indeed-com/search
    query_json: '{"keyword": "data engineer", "location": "Berlin", "country": "de"}'
    max_rows: 20
    output_format: csv
    api_key: ${{ secrets.OPENDATA_API_KEY }}

Inputs

Input Meaning
dataset <site>/<endpoint> such as indeed-com/search, or catalog to list sources
endpoint Endpoint of the source when dataset holds only the site
query_json Input of the endpoint as JSON
max_rows Maximum rows to deliver; each delivered row is billed
output_format json, jsonl or csv
output_path File to write; defaults to opendata/<dataset>-<endpoint>.<format>
api_key odk_ key; not needed for catalog
wait_seconds How long to keep reading rows of a long job
fail_on_empty Fail the step when no rows are returned

Outputs

row_count, output_path, job_id, status and done.

Examples

The examples/ folder has a daily listings report, a price snapshot and a supplier change workflow.

Use the data in an AI assistant

The same sources are available to Claude and Gemini CLI through the remote MCP server https://ai.opendata.best/mcp. Setup: Claude and Gemini MCP setup · official guides Claude and Gemini.

Clone this wiki locally