The fastest way to confirm your API key works is withDocumentation Index
Fetch the complete documentation index at: https://docs.leadx.com/llms.txt
Use this file to discover all available pages before exploring further.
cURL. In this tutorial, you’ll call the LeadX API to fetch company details.
Make a Request
Call the
/companies endpoint with any company URL:Terminal
You can optionally use
| jq in the request. This will format the JSON response in a human-readable way directly in the terminal. Make sure you have jq installed on your system (brew install jq on macOS).View the Response
If everything is set up correctly, the API will respond with a
200 status code, which is your confirmation the request was successful.Along with the status, you’ll get rich JSON data describing the company, including:- Company name
- Address
- Industry classification
- Social profiles
- NAICS/SIC codes
200 - Successful Response
Next Steps
Congratulations!You’ve verified your API key and pulled your first company record. From here, you can:
-
Try a new endpoint: Look up executives, validate emails, or enrich a contact with
/contactsor/emails/validation. - Chain calls together: Build lightweight workflows, like automating KYC checks or enriching sales leads. Check out the other tutorials in this section for more ideas.