H2GC API
DataReference
GET
/v1/reference

Authorization

x-api-key<token>

API key obtained by claiming an invite. Format: sk_live_...

In: header

Query Parameters

datasetRequiredstring

The reference dataset to query (e.g. country_reference)

Minimum length: 1
limitinteger

Maximum number of rows per page

Minimum: 1Maximum: 1000
cursorstring

Pagination cursor from a previous response

curl -X GET "https://api.beta.h2gc.com/v1/v1/reference?dataset=country_reference&limit=100&cursor=%3Cstring%3E" \
  -H "x-api-key: <token>"

Reference data matching the query

{
  "meta": {
    "dataset": "string",
    "row_count": 0
  },
  "data": [
    {
      "property1": null,
      "property2": null
    }
  ],
  "pagination": {
    "cursor": "string",
    "has_more": true
  }
}