agentleFS
LeadMagicLeadMagic/leadmagic-skills/skills/company-search/SKILL.md

company-search

Skill0 starsChanged 4 months agoMITView on GitHub

LeadMagic V3 company search via POST /v3/companies/search — 25M+ companies with firmographic, geographic, funding, and technographic filters, plus lookalikes. Use when building account lists, filtering companies by criteria, finding lookalike companies, or handling company cursor pagination.

  • Reads credentials
  • Sends data out

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Stop when has_more is false.

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

LeadMagic — Company search (V3)

Canonical endpoint: POST /v3/companies/search — 25M+ companies. Aliases (same handler, direct-lookup inferred from the body, not the path): /v3/companies/company-search, /lookup, /enrich, /domain-lookup, /funding, /company-funding, /v1/companies/search.

Docs: Company Search V3

Credit-free browse search on qualifying plans

On Professional and Ultimate, browse search on this endpoint costs no credits, at 5 req/s (Professional) or 10 req/s (Ultimate), within a fair-use cap (10M records/month, 13,333 searches/day) shared across People, Company and Jobs search — see leadmagic.io/unlimited. Other plans pay ~1 credit per returned company. Never ration or narrow a query to save credits on an entitled plan. Lookalikes (/v3/companies/lookalike) are metered on every plan (flat 5 credits per successful response).

One vs Many

  • One (direct lookup): company_domain (preferred), website, company_name, or a B2B company profile URL at the root. Low-latency single-account enrichment.
  • Many (discovery): company_filters — domains array, headcount, geography, industry, funding, technographics. TAM building.
curl -sS -X POST "https://api.leadmagic.io/v3/companies/search" \
  -H "X-API-Key: $LEADMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "company_filters": {
      "industries": ["Software Development"],
      "country_codes": ["US"],
      "min_employees": 51, "max_employees": 200,
      "crm_tech": ["HubSpot"]
    },
    "limit": 50
  }'

Filter families

GroupFields
Identitycompany_domains, company_websites, company_names, B2B profile URLs, keyword, query
Firmographicsindustries, employee_ranges / min/max_employees, revenue_ranges, founded_after/before, sic_codes, naics_codes, specialties
Geographycountry_codes (HQ), location_country_codes (presence), hq_regions/cities/states
Fundinghas_funding, min/max_total_funding, last_funding_types, last_funding_after/before
Technographicscrm_tech, marketing_automation_tech, sales_automation_tech, analytics_tech, cloud_provider_tech, tech_stack
Coveragemin/max_total_contacts, min/max_contacts_with_email, min/max_valid_email_count

HQ location vs presence location are different filters — passing both ANDs and narrows hard; pick the one the brief means and say which.

Cursor pagination

  • First page: filters + limit (≤50 on cursor pages). No cursor, offset 0 or omitted.
  • Response carries next_cursor and has_more.
  • Next page: same filters + "cursor": "<next_cursor>".
  • cursor + nonzero offset is rejected. next_cursor is only minted on the offset-0 form — if you were paging by offset, restart at offset 0 to switch to cursors.
  • Stop when has_more is false. On Professional or Ultimate, paging a segment is credit-free within the fair-use cap.

Lookalikes (metered)

POST /v3/companies/lookalike (aliases /competitors, /competitors-search) — seed with company_domain or free-text description, scope with company_filters. Flat 5 credits per successful response; free on zero matches.

When not to use this skill

  • People at these companies → people-search (people filters + company_filters)
  • Single-domain V1 enrichment / funding rounds → company-enrichment
  • Job postings at companies → job-search

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.