The FBI Wanted API is designed to help developers easily get information on the FBI Wanted program. The API is a simple REST endpoint that accepts query parameters for options and returns application/json responses.

Sweat & Toil
- Category: Open Data
Overview
The API provided by https://developer.dol.gov/others/sweat-and-toil/ integrates valuable information on child labor and forced labor. This information is gathered from three major reports, “Findings on the Worst Forms of Child Labor,” “List of Goods Produced by Child Labor or Forced Labor,” and “List of Products Produced by Forced or Indentured Child Labor.” The API is designed to help businesses and organizations make informed decisions about their supply chains, and to assist consumers in making responsible choices when purchasing goods and products.
Benefits
Here are five key benefits of using this API:
- Access to valuable information on child labor and forced labor
- Informed decision-making regarding supply chain management
- Improved corporate social responsibility efforts
- Assistance with consumer purchasing decisions
- Enhanced transparency in business practices
API Code Sample
Here's an example of how you can use the API to retrieve information in JavaScript:
const apiUrl = "https://developer.dol.gov/others/sweat-and-toil/";
const product = "jeans";
const queryUrl = `${apiUrl}?product=${product}`;
fetch(queryUrl)
.then(response => {
if(!response.ok) {
throw new Error("Network response was not ok");
}
return response.json()
})
.then(data => console.log(data))
.catch(error => console.error(error));
Note: This code sample assumes that you have already identified the product you wish to retrieve information on. The API documentation provides more details on how to query for specific data.