market

Get your market selection

Return the account's chosen market and the markets it may choose from.

chosen is null until a single-market account sets one, and always null on a tier that serves all markets — that case carries a note explaining how to narrow a request instead. available lists every market foods exist in. Reading this never consumes quota.

get/v1/market

Request

  • Base URL: https://api.noms.sh
  • URL: https://api.noms.sh/v1/market
  • Auth: API key in header X-API-Key

Response

Successful Response

Example response

{
  "data": {
    "available": [
      "AR",
      "CL",
      "MX",
      "US"
    ],
    "chosen": "CL"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.