Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Free and keyless for public assets. Throttled calls answer 429.
  • Unknown parameters are treated as custom-metadata filters, so a misspelt one (domain instead of domains) silently returns nothing.
  • Repeating a parameter is a union (tags=fire&tags=commission); different parameters intersect.
  • This entry covers discovery only. A dataset’s rows are queried on its own portal (https://<portal>/api/v3/views/<four-by-four>/query.json, or the older /resource/<id>.json) — a host per portal that this format cannot name. Each search result carries the portal domain and the four-by-four id.

Endpoints

  • Search with no parameters returns every asset you may see; each parameter only narrows it.

Autocomplete asset titles

  • q is required here and matched against titles only, character-wise.

Autocomplete tags

  • q is required.

Count assets by portal

Count assets by tag

Count assets by category

Count a portal’s assets by facet