Select to view content in your preferred language

Is all open data from Hubs available on hub.arcgis.com

1233
2
03-19-2020 03:55 AM
StephenKnox
New Contributor

I think the answer to this is yes, but my problem is how do I find it with the API? I want to find all the datasets on a particular hub - e.g. Open Geography portal. When you search for all datasets it calls the API https://opendata.arcgis.com/api/v3/search but I can't seem to replicate the datasets it sends back in standalone API calls. Basically I am looking for a way to find all the Open Geography datasets using an API call to https://opendata.arcgis.com/api/v3/search. Is the API documented anywhere? I think the open data infrastructure is very good, but there doesn't seem to be any API documentation.

Tags (2)
2 Replies
by Anonymous User
Not applicable

We're working on finding a home for our technical docs, but in the meantime here's a cut you can refer to: v3.md · GitHub 

The /datasets call is probably your best best, but it defaults to the first ten records. The max record count is 100, which you can set with page[size]=99. Pagination can be done with page[number]={{page number}}.

Example:

First hundred records - https://opendata.arcgis.com/api/v3/datasets?page[size]=99&page[number]=1

Second hundred records - https://opendata.arcgis.com/api/v3/datasets?page[size]=99&page[number]=2

0 Kudos
Yann-EricBoyeau
Frequent Contributor

Hi @Anonymous User , will ESRI make the opendata API V3 conform to OpenAPI Specification ? 

0 Kudos