Random Companies
GEThttps://api-companies.dataandapis.com/v1/companies/random
Random Companies is an endpoint of the Company Enrichment API. Turn a domain or work email into company name, industry, size, HQ, tickers and socials.
Send your key in the X-Api-Key header. Each call costs 1 token; a free key includes 500 tokens a month.
Request
Query parameters
| Parameter | Example | |
|---|---|---|
| amount | 3 | Optional |
Example request
curl
curl "https://api-companies.dataandapis.com/v1/companies/random?amount=3" \
-H "X-Api-Key: YOUR_API_KEY"Node.js
const res = await fetch("https://api-companies.dataandapis.com/v1/companies/random?amount=3", {
headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();Python
import os, requests
r = requests.get(
"https://api-companies.dataandapis.com/v1/companies/random?amount=3",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Example response
Example response{
"ok": true,
"count": 3,
"results": [
{
"id": 51026,
"name": "Wysor",
"domain": "wysor.io",
"description": "German software company providing AI tools for regulated professions",
"country": "Germany",
"industries": [
"artificial intelligence"
],
"employees": null,
"tickers": [],
"sources": [
"WIKIDATA"
]
},
{
"id": 85791,
"name": "Airport Railroad Corporation",
"domain": "arex.or.kr",
"description": "South Korean airport railroad company",
"country": "South Korea",
"industries": [
"airport rail link"
],
…
Show full response
Example response
{
"ok": true,
"count": 3,
"results": [
{
"id": 51026,
"name": "Wysor",
"domain": "wysor.io",
"description": "German software company providing AI tools for regulated professions",
"country": "Germany",
"industries": [
"artificial intelligence"
],
"employees": null,
"tickers": [],
"sources": [
"WIKIDATA"
]
},
{
"id": 85791,
"name": "Airport Railroad Corporation",
"domain": "arex.or.kr",
"description": "South Korean airport railroad company",
"country": "South Korea",
"industries": [
"airport rail link"
],
…{
"ok": true,
"count": 3,
"results": [
{
"id": 51026,
"name": "Wysor",
"domain": "wysor.io",
"description": "German software company providing AI tools for regulated professions",
"country": "Germany",
"industries": [
"artificial intelligence"
],
"employees": null,
"tickers": [],
"sources": [
"WIKIDATA"
]
},
{
"id": 85791,
"name": "Airport Railroad Corporation",
"domain": "arex.or.kr",
"description": "South Korean airport railroad company",
"country": "South Korea",
"industries": [
"airport rail link"
],
"employees": null,
"tickers": [],
"sources": [
"WIKIDATA"
]
},
{
"id": 60356,
"name": "Ministry of Supply",
"domain": "ministryofsupply.com",
"description": "American fashion brand",
"country": "United States",
"industries": [
"fashion"
],
"employees": null,
"tickers": [],
"sources": [
"WIKIDATA"
]
}
]
}
