# TED API

Category: [Government and law](https://free-web-services.com/web-services/open-data/government/)  
Page: https://free-web-services.com/web-services/open-data/government/ted-api.html  
Documentation: https://docs.ted.europa.eu/api/latest/search.html

The TED API from the Publications Office of the European Union searches the public procurement notices published on Tenders Electronic Daily, for example to alert a company to new tenders in its country and field. POST an expert query and a list of fields to the Search API and get JSON with links to each notice in XML, PDF and HTML. Free, no key needed to search published notices, within fair usage limits. Submitting and managing notices needs an API key.

- API key: Not needed
- Pricing: Free, no key needed to search published notices, within fair usage limits.
- Commercial use: Allowed on the free plan
- From the browser: No, call it from a server
- Formats: JSON, XML
- Interface: REST
- Provider: docs.ted.europa.eu

Example request:

```sh
curl -X POST 'https://api.ted.europa.eu/v3/notices/search' \
  -H 'Content-Type: application/json' \
  -d '{"query":"buyer-country=NLD AND publication-date>=20261101","fields":["publication-number","notice-title","buyer-name"],"limit":3}'
```

Run the JavaScript on a server, such as Node.js 18 or newer: this API does not accept calls from web pages on other sites.

