Commodities

Domain structure

Dimensions and available parameters for a FAOSTAT domain. Use to discover area, item, and element codes.

get/api/v1/faostat/domain/{code}

Path parameters

codestring required

Dataset domain code.

Dataset domain code.

Response

Domain structure metadata.

dataStubData required

Response shape not yet documented; fields are returned as-is.

Example response

{
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ]
  }
}

Changes

Changed in 2 of the 21 revisions of this API.3516

  • a83e6a561bf2354See the full diff
    • added UpstreamErrorResponse subschema #2 to the response body oneOf list for the response status 503

      response-body-one-of-added

    • the response's body type/format changed from object/ to / for status 503

      response-body-type-changed

    • removed the required property error from the response with the 503 status

      response-required-property-removed

    • removed the optional property code from the response with the 503 status

      response-optional-property-removed

    • removed the optional property detail from the response with the 503 status

      response-optional-property-removed

    • removed the optional property hint from the response with the 503 status

      response-optional-property-removed

    • removed the optional property plan from the response with the 503 status

      response-optional-property-removed

    • removed the optional property reason from the response with the 503 status

      response-optional-property-removed

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 502

      response-non-success-status-added

    • added the non-success response with the status 504

      response-non-success-status-added

    • added the optional property code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 429 status

      response-optional-property-added

    • added the optional property code to the response with the 503 status

      response-optional-property-added

    • added the optional property hint to the response with the 401 status

      response-optional-property-added

    • added the optional property hint to the response with the 429 status

      response-optional-property-added

    • added the optional property hint to the response with the 503 status

      response-optional-property-added

    • added the optional property plan to the response with the 401 status

      response-optional-property-added

    • added the optional property plan to the response with the 429 status

      response-optional-property-added

    • added the optional property plan to the response with the 503 status

      response-optional-property-added

    • added the optional property reason to the response with the 401 status

      response-optional-property-added

    • added the optional property reason to the response with the 429 status

      response-optional-property-added

    • added the optional property reason to the response with the 503 status

      response-optional-property-added