Installation
Authentication
Get an API key by signing up for free; it’s available in your dashboard after approval. The same key works across the API, SDKs, MCP server, and CLI.Person
Enrichment
Look up a person by email, phone, name, LinkedIn, or other identifiers.multiple_results=True.
Search
Query people using a SQLSELECT against the people table. The query must start with SELECT and must not include a LIMIT clause — pass limit as a parameter.
Discovery
Find people using natural language.Company
Enrichment
Look up a company by domain, name, ticker, or LinkedIn.Search
Query companies using SQL WHERE syntax.Discovery
Find companies using natural language.Utility Endpoints
Utility endpoints are free and don’t consume credits.Clean Fields
Hash Email
Validate Data
Async Client
TheAsyncDataLegion client has the same interface but all methods are async.
Response Metadata
After each request, response metadata is available on the client.Field Filtering
Control which fields are returned in the response.Error Handling
The SDK raises typed exceptions for different error conditions.Configuration
httpx client for advanced configuration: