# Open Supply Hub API reference

> Open Supply Hub is an open database of production facilities (factories and other supply chain locations) contributed by brands, retailers and others. The API searches facilities and returns them as GeoJSON with name, address, country, contributors and extended fields such as sector and number of…

Source: https://osinttools.io/apis/open-supply-hub/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/open-supply-hub/

- Base URL: https://opensupplyhub.org/api
- Authentication: API key in the `Authorization` header. Get a key: https://opensupplyhub.org/ The spec names an Authorization header as the API key.
- Rate limits: Not stated in the docs
- Vendor docs: https://opensupplyhub.org/api/docs/
- OpenAPI spec: https://opensupplyhub.org/api/docs/?format=openapi

## Overview

Open Supply Hub is an open database of production facilities (factories and other supply chain locations) contributed by brands, retailers and others. The API searches facilities and returns them as GeoJSON with name, address, country, contributors and extended fields such as sector and number of workers.

The API is at `https://opensupplyhub.org/api`. The published Swagger spec lists an `Authorization` header as its API key. Facility search returns at most 50 facilities per page and the last page that can be accessed is 100.

This reference covers the public lookup endpoints. The spec also has endpoints for contributors' own lists, matches and claims, which are not described here.

## Facilities

### Search facilities by name or OS ID, country, contributor, sector and more; GeoJSON results.

`GET /facilities/`

- Takes: Name
- Footprint: passive (the target is not contacted)

Returns a FeatureCollection with count, next and previous page links. Maximum 50 facilities per page; page 100 is the last that can be accessed. detail=true adds contributor and extended-field detail and makes the response larger.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | no | Facility name or OS ID Example: Example Garments |
| `countries` | query | string | no | Country code Example: BD |
| `contributors` | query | integer | no | Contributor ID Example: 1 |
| `lists` | query | integer | no | List ID Example: 1 |
| `contributor_types` | query | string | no | Contributor type Example: Brand/Retailer |
| `parent_company` | query | string | no | Contributor ID or name of a parent company Example: Example Brand |
| `facility_type` | query | string | no | Facility type taxonomy label or free text Example: Final Product Assembly |
| `product_type` | query | string | no | Product type Example: Shirts |
| `sectors` | query | string | no | Sector name Example: Apparel |
| `detail` | query | boolean | no | Return additional detail about contributors and extended fields Example: true |
| `page` | query | integer | no | Page number; the last accessible page is 100 Example: 1 |
| `pageSize` | query | integer | no | Results per page Example: 20 |

Response fields:

- `type` (string): FeatureCollection
- `count` (integer): Total matching facilities
- `next` (string): URL of the next page; null on the last
- `features[].id` (string): OS ID
- `features[].geometry.coordinates` (array): Longitude, latitude
- `features[].properties.name` (string): Facility name
- `features[].properties.address` (string): Facility address
- `features[].properties.country_code` (string): Country code
- `features[].properties.country_name` (string): Country name
- `features[].properties.has_approved_claim` (boolean): Whether the facility has an approved claim

```bash
curl 'https://opensupplyhub.org/api/facilities/' \
  -H 'Authorization: YOUR_API_KEY'
```

Example response (200):

```json
{
  "type": "FeatureCollection",
  "count": 1,
  "next": null,
  "previous": null,
  "features": [
    {
      "id": "XX2020000ABCDEF",
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          90.4,
          23.8
        ]
      },
      "properties": {
        "name": "Example Garments Ltd",
        "address": "1 Example Road, Example City",
        "country_code": "BD",
        "os_id": "XX2020000ABCDEF",
        "country_name": "Bangladesh",
        "has_approved_claim": false,
        "is_closed": null
      }
    }
  ]
}
```

### One facility by OS ID, in GeoJSON.

`GET /facilities/{id}/`

- Footprint: passive (the target is not contacted)

Returns the facility with contributors, extended fields (names, addresses, number of workers and others), sector and claim information.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Open Supply Hub ID (OS ID) Example: XX2020000ABCDEF |
| `pending_claim_info` | query | boolean | no | Show claim_info as pending when a claim is pending Example: true |

Response fields:

- `id` (string): OS ID
- `properties.name` (string): Facility name
- `properties.address` (string): Address
- `properties.country_code` (string): Country code
- `properties.other_names[]` (string): Other names contributed
- `properties.contributors[].name` (string): Contributor name
- `properties.is_closed` (boolean): Closed flag; null if unknown
- `properties.is_claimed` (boolean): Whether the facility is claimed
- `properties.sector[].values[]` (string): Sectors

```bash
curl 'https://opensupplyhub.org/api/facilities/XX2020000ABCDEF/' \
  -H 'Authorization: YOUR_API_KEY'
```

Example response (200):

```json
{
  "id": "XX2020000ABCDEF",
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [
      90.4,
      23.8
    ]
  },
  "properties": {
    "name": "Example Garments Ltd",
    "address": "1 Example Road, Example City",
    "country_code": "BD",
    "country_name": "Bangladesh",
    "os_id": "XX2020000ABCDEF",
    "other_names": [],
    "contributors": [
      {
        "id": 1,
        "name": "Example Brand",
        "contributor_type": "Brand/Retailer"
      }
    ],
    "is_closed": null,
    "is_claimed": false,
    "sector": [
      {
        "contributor_id": 1,
        "values": [
          "Apparel"
        ]
      }
    ]
  }
}
```

### The history of changes to a facility.

`GET /facilities/{id}/history/`

- Footprint: passive (the target is not contacted)

Returns a list of changes with a timestamp, an action and details.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Open Supply Hub ID (OS ID) Example: XX2020000ABCDEF |

Response fields:

- `[].updated_at` (string): When the change happened
- `[].action` (string): Action such as UPDATE or DELETE
- `[].detail` (string): Description of the change

```bash
curl 'https://opensupplyhub.org/api/facilities/XX2020000ABCDEF/history/' \
  -H 'Authorization: YOUR_API_KEY'
```

Example response (200):

```json
[
  {
    "updated_at": "2024-09-05T13:15:30Z",
    "action": "UPDATE",
    "detail": "Updated facility"
  }
]
```

### Count of facilities available in Open Supply Hub.

`GET /facilities/count/`

- Footprint: passive (the target is not contacted)

Returns the total number of facilities.

Response fields:

- `count` (integer): Total facilities

```bash
curl 'https://opensupplyhub.org/api/facilities/count/' \
  -H 'Authorization: YOUR_API_KEY'
```

Example response (200):

```json
{
  "count": 100000
}
```

## Reference lists

### Country choices as code and name pairs.

`GET /countries/`

- Footprint: passive (the target is not contacted)

Use the codes in the countries filter of facility search.

Response fields:

- `[]` (array): Pair of country code and country name

```bash
curl 'https://opensupplyhub.org/api/countries/' \
  -H 'Authorization: YOUR_API_KEY'
```

Example response (200):

```json
[
  [
    "AF",
    "Afghanistan"
  ],
  [
    "AL",
    "Albania"
  ]
]
```

### Contributors as ID, name and type.

`GET /contributors/`

- Footprint: passive (the target is not contacted)

Use the IDs in the contributors filter of facility search.

Response fields:

- `[]` (array): Contributor ID, name and type

```bash
curl 'https://opensupplyhub.org/api/contributors/' \
  -H 'Authorization: YOUR_API_KEY'
```

Example response (200):

```json
[
  [
    1,
    "Contributor One",
    "Brand/Retailer"
  ],
  [
    2,
    "Contributor Two",
    "Service Provider"
  ]
]
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
