# data.gov.au open data catalogue · Search datasets

Search public records with data.gov.au open data catalogue · Search datasets from Alexandria through one Spiral API key. Start here to find datasets and their resource ids. Use `organization` with a slug from list_organizations (ABS Census tables: `government-of-the-commonwealth-of-australia-australian-bureau-of-statistics-australian-urban-researc`; ABS: `australianbureauofstatistics`). It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Public Records
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `data-gov-au/open-data/search_datasets`
- Page: https://spiral.ai/tools/alexandria/data-gov-au/open-data/search_datasets

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `q` | text |  | — | Full-text query (Solr syntax allowed: quotes, AND/OR, field:value). Omit to list everything. |
| `fq` | text |  | — | Raw Solr filter query ANDed with the filters above, e.g. `res_datastore_active:true` or `metadata_modified:[2025-01-01T00:00:00Z TO *]`. |
| `rows` | number | 1 to 100 | 20 | Datasets per page. |
| `sort` | text |  | — | Solr sort, e.g. `metadata_modified desc`, `title_string asc`. Default `score desc, metadata_modified desc`. Pattern: ^[A-Za-z_]+ (asc\|desc)(, [A-Za-z_]+ (asc\|desc))*$. |
| `tags` | list |  | — | Tags that must all be present. Case-sensitive (`Census` and `census` are different tags). |
| `group` | text |  | — | Topic group slug, e.g. `business`. Pattern: ^[A-Za-z0-9_.-]+$. |
| `cursor` | text |  | — | Result offset to resume from: the `next_cursor` of the previous page. Pattern: ^[0-9]{1,9}$. |
| `ext_bbox` | text |  | — | Bounding box `minx,miny,maxx,maxy` (WGS84 lon/lat); keeps datasets whose spatial extent intersects it. Pattern: ^-?[0-9]{1,3}(\.[0-9]+)?,-?[0-9]{1,3}(\.[0-9]+)?,-?[0-9]{1,3}(\.[0-9]+)?,-?[0-9]{1,3}(\.[0-9]+)?$. |
| `license_id` | text |  | — | Licence id, e.g. `cc-by`, `CC-BY-4.0`. |
| `res_format` | text |  | — | Resource format a dataset must offer, e.g. `CSV`, `XLSX`, `WMS`. |
| `organization` | text |  | — | Organisation slug, e.g. `australianbureauofstatistics` (from list_organizations or facets.organization[].name). Pattern: ^[A-Za-z0-9_.-]+$. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "data-gov-au/open-data/search_datasets",
    "input": {
      "q": "<q>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=data-gov-au%2Fopen-data%2Fsearch_datasets

## Common questions

### data.gov.au open data catalogue · Search datasets

**How much does data.gov.au open data catalogue · Search datasets cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use data.gov.au open data catalogue · Search datasets through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-gov-au/open-data/search_datasets"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use data.gov.au open data catalogue · Search datasets?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use data.gov.au open data catalogue · Search datasets?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

