Search Companies
GEThttps://api-companies.dataandapis.com/v1/companies
Search Companies é um endpoint da Company Enrichment API. Transforme um domínio ou e-mail corporativo em nome da empresa, setor, porte, sede, tickers e redes sociais.
Envie sua chave no header X-Api-Key. Cada chamada custa 1 token; uma chave gratuita inclui 500 tokens por mês.
Requisição
Parâmetros de consulta
| Parâmetro | Exemplo | |
|---|---|---|
| country | United States | Opcional |
| domain | stripe.com | Opcional |
| exchange | Nasdaq | Opcional |
| industry | software | Opcional |
| limit | 20 | Opcional |
| min_employees | 1000 | Opcional |
| page | 1 | Opcional |
| q | stripe | Opcional |
| sic | 7372 | Opcional |
| source | WIKIDATA | Opcional |
Exemplo de requisição
curl
curl "https://api-companies.dataandapis.com/v1/companies?country=United%20States&domain=stripe.com&exchange=Nasdaq&industry=software&limit=20&min_employees=1000&page=1&q=stripe&sic=7372&source=WIKIDATA" \
-H "X-Api-Key: YOUR_API_KEY"JavaScript / TypeScript (pacote dataandapis)
// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.companies.searchCompanies({
country: "United States",
domain: "stripe.com",
exchange: "Nasdaq",
industry: "software",
limit: 20,
min_employees: 1000,
page: 1,
q: "stripe",
sic: 7372,
source: "WIKIDATA",
});Node.js (fetch)
const res = await fetch("https://api-companies.dataandapis.com/v1/companies?country=United%20States&domain=stripe.com&exchange=Nasdaq&industry=software&limit=20&min_employees=1000&page=1&q=stripe&sic=7372&source=WIKIDATA", {
headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();Python (pacote dataandapis)
# pip install dataandapis
from dataandapis import DataAndApis
client = DataAndApis() # reads DATAANDAPIS_API_KEY
data = client.companies.search_companies(
country="United States",
domain="stripe.com",
exchange="Nasdaq",
industry="software",
limit=20,
min_employees=1000,
page=1,
q="stripe",
sic=7372,
source="WIKIDATA",
)Python (requests)
import os, requests
r = requests.get(
"https://api-companies.dataandapis.com/v1/companies?country=United%20States&domain=stripe.com&exchange=Nasdaq&industry=software&limit=20&min_employees=1000&page=1&q=stripe&sic=7372&source=WIKIDATA",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Guia do pacote npm dataandapis →Guia do pacote Python dataandapis →
Exemplo de resposta
Exemplo de resposta{
"ok": true,
"total": 5,
"page": 1,
"limit": 5,
"count": 5,
"results": [
{
"id": 110248,
"name": "Stripe",
"domain": "stripe.com",
"description": "Irish-American payment technology company",
"country": "United States",
"industries": [
"financial services",
"mobile payment industry"
],
"employees": 8000,
"tickers": [],
"sources": [
"WIKIDATA"
]
},
{
"id": 56801,
"name": "Broadstripe",
"domain": "broadstripe.com",
"description": "American telecommunications and cable company",
…
Ver resposta completa
Exemplo de resposta
{
"ok": true,
"total": 5,
"page": 1,
"limit": 5,
"count": 5,
"results": [
{
"id": 110248,
"name": "Stripe",
"domain": "stripe.com",
"description": "Irish-American payment technology company",
"country": "United States",
"industries": [
"financial services",
"mobile payment industry"
],
"employees": 8000,
"tickers": [],
"sources": [
"WIKIDATA"
]
},
{
"id": 56801,
"name": "Broadstripe",
"domain": "broadstripe.com",
"description": "American telecommunications and cable company",
…{
"ok": true,
"total": 5,
"page": 1,
"limit": 5,
"count": 5,
"results": [
{
"id": 110248,
"name": "Stripe",
"domain": "stripe.com",
"description": "Irish-American payment technology company",
"country": "United States",
"industries": [
"financial services",
"mobile payment industry"
],
"employees": 8000,
"tickers": [],
"sources": [
"WIKIDATA"
]
},
{
"id": 56801,
"name": "Broadstripe",
"domain": "broadstripe.com",
"description": "American telecommunications and cable company",
"country": null,
"industries": [
"telecommunications"
],
"employees": null,
"tickers": [],
"sources": [
"WIKIDATA"
]
},
{
"id": 95322,
"name": "Go Faster Stripe",
"domain": "gofasterstripe.com",
"description": "publisher of stand up comedy recordings",
"country": null,
"industries": [
"publishing"
],
"employees": null,
"tickers": [],
"sources": [
"WIKIDATA"
]
},
{
"id": 110249,
"name": "Stripes Convenience Stores",
"domain": "stripesstores.com",
"description": "chain of convenience stores in Texas, New Mexico, and Oklahoma",
"country": null,
"industries": [
"retail"
],
"employees": null,
"tickers": [],
"sources": [
"WIKIDATA"
]
},
{
"id": 39585,
"name": "The White Stripes Tailors and Shirtmakers",
"domain": "whitestripes-tailoring.com",
"description": "Tailoring shop in Dubai and Abu Dhabi, United Arab Emirates",
"country": "United Arab Emirates",
"industries": [
"clothing industry",
"tailoring"
],
"employees": null,
"tickers": [],
"sources": [
"WIKIDATA"
]
}
]
}