Skip to content
looot docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Enrich Layer API / /api/v2/search/company

Enrich Layer tool enrichlayer-api-search-company on looot: input fields, $0.0792 per result, output shape, and code to run it with curl, JavaScript or Python.

Cost: 3 credits / Company URL. Search for companies that meet a set of criteria within our exhaustive dataset of company profiles. This API endpoint can return at most 10,000,000 results per search. Each search expression for a parameter is limited to a maximum of 255 characters. Search expressions follow the Boolean Search Syntax.

Inputs

Name Type Required Description
city string no
country string no
description string no
domain_name string no
employee_count_category string no
employee_count_max string no
employee_count_min string no
enrich_profiles string no
follower_count_max string no
follower_count_min string no
founded_after_year string no
founded_before_year string no
funding_amount_max string no
funding_amount_min string no
funding_raised_after string no
funding_raised_before string no
industry string no
name string no
next_token string no
page_size string no
primary_industry string no
public_identifier_in_list string no
public_identifier_not_in_list string no
region string no
specialities string no
type string no
use_cache string no

Output

The run’s result holds the provider’s answer. Signed in, looot inspect enrichlayer-api-search-company prints its fields.

Run it

Every call needs your API token in LOOOT_TOKEN; Sign in shows how to get one. Each run also needs a new idempotency key, so a retry never pays twice. With wait: 30 the answer comes back inline when the run ends within 30 seconds. Otherwise you get the running run back: poll GET /v1/runs/<runId>.

Example input with placeholder values:

curl -X POST "https://api.looot.ai/v1/runs" \
  -H "Authorization: Bearer $LOOOT_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"endpointId":"enrichlayer-api-search-company","input":{"city":"<city>"},"wait":30}'
const response = await fetch("https://api.looot.ai/v1/runs", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.LOOOT_TOKEN}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({
    endpointId: "enrichlayer-api-search-company",
    input: {
      city: "<city>",
    },
    wait: 30,
  }),
});
const run = await response.json();
console.log(run.status, run.result);
import os
import uuid

import requests

response = requests.post(
    "https://api.looot.ai/v1/runs",
    headers={
        "Authorization": f"Bearer {os.environ['LOOOT_TOKEN']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    json={
        "endpointId": "enrichlayer-api-search-company",
        "input": {
            "city": "<city>",
        },
        "wait": 30,
    },
    timeout=90,
)
run = response.json()
print(run["status"], run.get("result"))

To let looot pick among every provider of this job instead, send job:company.search as endpointId; see the job page.

Was this page helpful?