GET /industries

GET /industries

List industries

List all industries. This is useful for finding the industry_id parameter for the /organizations endpoint. Pagination follows RFC 5988, with the Link header containing the next and last links. Follow the next link to get the next page of results.

Code Examples

API Key:
Language:

API Explorer

GET https://api.ditchcarbon.com/industries
Send a request to see the response

Responses

200 Industries list

Content type: application/json

Response Fields

400 Bad request

Content type: application/json

Response Fields

Field Type Description
status integer
title string
detail string

Example Response

{
  "status": 123,
  "title": "string",
  "detail": "string"
}

401 Unauthorized

Content type: application/json

Response Fields

Field Type Description
status integer
title string
detail string

Example Response

{
  "status": 123,
  "title": "string",
  "detail": "string"
}

404 Organization Not found

Content type: application/json

Response Fields

Field Type Description
status integer
detail string

Example Response

{
  "status": 123,
  "detail": "string"
}

422 Unrecognized Parameters

Content type: application/json

Response Fields

Field Type Description
status integer
title string
detail string

Example Response

{
  "status": 123,
  "title": "string",
  "detail": "string"
}

429 Too many organizations

Content type: application/json

Response Fields

Field Type Description
status integer
title string
detail string

Example Response

{
  "status": 123,
  "title": "string",
  "detail": "string"
}

500 Server Error

Content type: application/json

Response Fields

Field Type Description
status integer
title string
detail string

Example Response

{
  "status": 123,
  "title": "string",
  "detail": "string"
}
GET /industries