Skip to content
OSINTtools.io

Open Supply Hub API

Free, open map of global production facilities and the brands, groups and organisations connected to each one.

Base URL
https://opensupplyhub.org/api
Sign-in
API key
Format
REST
Endpoints
6

Compiled by OSINTtools.io editors from opensupplyhub.org · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with Open Supply Hub and copy your api key. Where to get it

  2. Make your first request

    Search facilities by name or OS ID, country, contributor, sector and more; GeoJSON results.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://opensupplyhub.org/api/facilities/' \
      -H 'Authorization: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "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
    …

Authentication

Send your API key in the Authorization header of every request.

The spec names an Authorization header as the API key.

Get a key from Open Supply Hub

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

Facilities

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.

Query parameters

qstringtakes your name

Facility name or OS ID

Example: Example Garments
countriesstring

Country code

Example: BD
contributorsinteger

Contributor ID

Example: 1
listsinteger

List ID

Example: 1
contributor_typesstring

Contributor type

Example: Brand/Retailer
parent_companystring

Contributor ID or name of a parent company

Example: Example Brand
facility_typestring

Facility type taxonomy label or free text

Example: Final Product Assembly
product_typestring

Product type

Example: Shirts
sectorsstring

Sector name

Example: Apparel
detailboolean

Return additional detail about contributors and extended fields

Example: true
pageinteger

Page number; the last accessible page is 100

Example: 1
pageSizeinteger

Results per page

Example: 20
Response fields · 10Show

typestring

FeatureCollection

countinteger

Total matching facilities

nextstring

URL of the next page; null on the last

idstring

OS ID

coordinatesarray

Longitude, latitude

namestring

Facility name

addressstring

Facility address

country_codestring

Country code

country_namestring

Country name

has_approved_claimboolean

Whether the facility has an approved claim

curl 'https://opensupplyhub.org/api/facilities/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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
      }
    }
  ]
}
  • Passive: the target is not contacted

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

Path parameters

idstringrequired

Open Supply Hub ID (OS ID)

Example: XX2020000ABCDEF

Query parameters

pending_claim_infoboolean

Show claim_info as pending when a claim is pending

Example: true
Response fields · 9Show

idstring

OS ID

namestring

Facility name

addressstring

Address

country_codestring

Country code

other_names[]string

Other names contributed

namestring

Contributor name

is_closedboolean

Closed flag; null if unknown

is_claimedboolean

Whether the facility is claimed

values[]string

Sectors

curl 'https://opensupplyhub.org/api/facilities/XX2020000ABCDEF/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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/

  • Passive: the target is not contacted

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

Path parameters

idstringrequired

Open Supply Hub ID (OS ID)

Example: XX2020000ABCDEF
Response fields · 3Show

updated_atstring

When the change happened

actionstring

Action such as UPDATE or DELETE

detailstring

Description of the change

curl 'https://opensupplyhub.org/api/facilities/XX2020000ABCDEF/history/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  {
    "updated_at": "2024-09-05T13:15:30Z",
    "action": "UPDATE",
    "detail": "Updated facility"
  }
]
  • Passive: the target is not contacted

Returns the total number of facilities.

Response fields · 1Show

countinteger

Total facilities

curl 'https://opensupplyhub.org/api/facilities/count/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "count": 100000
}

Reference lists

  • Passive: the target is not contacted

Use the codes in the countries filter of facility search.

Response fields · 1Show

[]array

Pair of country code and country name

curl 'https://opensupplyhub.org/api/countries/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  [
    "AF",
    "Afghanistan"
  ],
  [
    "AL",
    "Albania"
  ]
]
  • Passive: the target is not contacted

Use the IDs in the contributors filter of facility search.

Response fields · 1Show

[]array

Contributor ID, name and type

curl 'https://opensupplyhub.org/api/contributors/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  [
    1,
    "Contributor One",
    "Brand/Retailer"
  ],
  [
    2,
    "Contributor Two",
    "Service Provider"
  ]
]