While anyone can run a node and a corresponding API, the Helium hosted version offers up the API through two endpoints.
https://api.helium.wtf — Beta, scalable endpoint for new features and tests. Currently connected to mainnet. This endpoint is used for feature development. Submitted transactions may get dropped.
https://api.helium.io — Stable, scalable production service. Connected to mainnet.
The API routes are grouped together in sub-pages of this page. Refer to the subpages for details.
In order to return data quickly and reduce the load on the API, a
cursor may be returned from an API request. The documentation for each route will indicate whether the result is paged with a cursor.
The request the next page of results add a cursor URL parameter to the URL that was used to make the first request.
export API_URL=https://api.helium.iohttp get $(API_URL)/v1/blocks
will return a
data array with zero or more block results and a
cursor field. To request the next page:
http get $(API_URL)/v1/blocks?cursor=eyJiZWZvcmUiOjQzOTIwMX0
Which will return the next page of results and a next
cursor for the following page.