# ArcGIS Hub Open Data Search API

> Search 400K+ open GIS datasets published on ArcGIS Hub by governments: title, owner, format, links

- Vendor: `arcgishubopendatasearchapi` · version 1.0 · category Government Data · tags arcgis api, open data search api, gis datasets api, government data api, geospatial data api, shapefile api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/arcgishubopendatasearchapi
- This document: https://apiclay.com/docs/arcgishubopendatasearchapi.md
- OpenAPI 3.1: https://apiclay.com/api/arcgishubopendatasearchapi/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `arcgishubopendatasearchapi`
- Updated: 2026-11-18

## About

## ArcGIS Hub Open Data Search API

Search ArcGIS Hub, where cities, counties, states and agencies publish open geospatial data: each dataset's title, description, publisher organization, type (feature layer, table, map), record count, extent, tags and download/service URLs.

Data comes from **hub.arcgis.com** (https://hub.arcgis.com). Every route calls the source's own public API and returns it unchanged.

Typical flow: `/datasets?q=parks&amp;page[size]=10`.

### Routes

#### GET `/datasets` - Search datasets
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| q | query | string | no | Search words, e.g. `parks`. |
| page[size] | query | number | no | Results per page. |
| page[number] | query | number | no | Page. |

Returns: JSON:API `data[]` with `attributes` (`name`, `description`, `source`, `type`, `recordCount`, `url`, `tags`, `extent`), `meta` with totals.

### Caveats

- Each dataset keeps its publisher's own license.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by hub.arcgis.com.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /datasets — Search datasets
- Gateway: `GET https://api.apiclay.com/v1/api/arcgishubopendatasearchapi/datasets`
- Public query params: `q` (string), `page[size]` (number), `page[number]` (number)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/arcgishubopendatasearchapi/datasets" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
