Provided by People Data Labs
Company Search
Search the PDL company dataset with an Elasticsearch or SQL query: companies with industry, size and location attributes, priced per returned record. Resold with no monthly floor.
How to run it
Step 1Set up
Once: paste this into your agent's chat. The Skill installs the CLI and logs in by itself. For an agent that cannot use a shell, connect it over MCP instead.
set up https://glasser.ai/SKILL.md
Show me how to use the People Data Labs endpoint /v5/company/search on Glasser.glasser run -p pdl -e '/v5/company/search' -i '{"sql":"SELECT * FROM company WHERE industry='\''computer software'\'' AND location.country='\''singapore'\''","size":3}' --endpoint-version 2Uses endpoint version 2. Inspect the current price before running. Install and log in first on Get Started.
Once per Run:
IDEMPOTENCY_KEY=$(uuidgen)Run it, and copy this same block to send it again:
curl -X POST https://api.glasser.ai/v1/runs \
-H "Authorization: Bearer gl_..." \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"pdl","endpoint":"/v5/company/search","input":{"sql":"SELECT * FROM company WHERE industry='\''computer software'\'' AND location.country='\''singapore'\''","size":3},"endpoint_version":2}'Reuse the same Idempotency-Key to send it again: the second send is a read of the first Run. A new key is a new Run and a new Charge. Uses endpoint version 2; inspect the current price before running.
Step 2Try a specific example task
When you need to qualify potential customers, you might compare company information with your ideal-customer criteria to decide which accounts to research next.
Copy this prompt into your agent to review companies against your ideal-customer criteria.
Use pdl:/v5/company/search on Glasser.
Check the returned company data against my ideal-customer criteria.Endpoint structure
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"sql": {
"type": "string",
"minLength": 1,
"description": "SQL such as SELECT * FROM company WHERE industry='computer software' AND location.country='singapore'; give sql or query, not both. Main company columns: name, website, industry (lower case, e.g. 'computer software'), size (a band such as '51-200'), employee_count, founded (year), tags, and location as nested fields location.country, location.locality, location.region (lower case, e.g. location.country='singapore'). There is no location_country column on companies; that is a person column. Full list: https://docs.peopledatalabs.com/docs/company-schema."
},
"size": {
"type": "integer",
"maximum": 10,
"minimum": 1
},
"query": {
"type": "object",
"description": "Elasticsearch query body over the company index; give query or sql, not both. Main company columns: name, website, industry (lower case, e.g. 'computer software'), size (a band such as '51-200'), employee_count, founded (year), tags, and location as nested fields location.country, location.locality, location.region (lower case, e.g. location.country='singapore'). There is no location_country column on companies; that is a person column. Full list: https://docs.peopledatalabs.com/docs/company-schema."
}
},
"additionalProperties": false
}{
"sql": "SELECT * FROM company WHERE industry='computer software' AND location.country='singapore'",
"size": 3
}This Endpoint publishes no output schema. You get the Provider's own response body, unchanged — we do not warrant a shape we cannot guarantee.
How pricing works
| Per result returned | Charged for each result returned. No charge when no data is returned. | $0.10 |
|---|---|---|
| Maximum per Run | The total charge will not exceed this amount. | $1.00 |
| Provider error | The Provider failed to answer. | $0.00 |
| Timed out | The Run exceeded its time limit. | $0.00 |
| Internal failure | An internal error prevented completion. | $0.00 |