Overview
The Context API is our most powerful endpoint. Send us unstructured data about a person, and we’ll:- Enrich the profile with data from our websets
- Structure the data into our standard schema
- Generate custom fields using LLMs based on your requirements
Endpoint
Request Parameters
Unstructured data about a person. Can be a string or an object with any fields.Examples:
- String:
"Justin Connell works at PeopleContext — his email is justin@peoplecontext.com" - Object:
{"name": "Justin", "company": "PeopleContext", "linkedin": "https://linkedin.com/in/justinconnell"}
Custom fields you want generated for this profile. Each field should have a
type and description.Example:Minimum confidence threshold for returned data (0.0 - 1.0). Higher values return more accurate data but may exclude some information.
Optional webhook URL to receive the enriched profile asynchronously.
Maximum time to wait for enrichment before sending to webhook.
Response Schema
The response includes:- All standard profile fields (from our unified schema)
- A
customobject with your requested custom fields - Confidence scores for generated fields
Code Examples
Basic Enrichment
With Custom Schema
Async with Webhooks
Python
Use Cases
Recruiting - Candidate Scoring
Score candidates automatically based on job requirements:Sales - Lead Qualification
Qualify and score leads automatically:Content Personalization
Generate personalized content at scale:Best Practices
Write Clear Schema Descriptions
Write Clear Schema Descriptions
The quality of custom fields depends on clear, detailed descriptions:Good:Bad:
Adjust Confidence Levels
Adjust Confidence Levels
Use different confidence levels based on your use case:
- High confidence (0.95+): Critical decisions, compliance
- Medium confidence (0.85-0.95): General enrichment, CRM data
- Lower confidence (0.75-0.85): Exploratory analysis, lead generation
Use Webhooks for Batch Processing
Use Webhooks for Batch Processing
For processing large volumes, use webhooks to avoid timeouts:
Pricing
Context API pricing is based on:- Base enrichment: Standard per-request fee
- Custom field generation: Additional cost per custom field
- Data sources accessed: May incur additional costs for premium data
FAQ
When will the Context API be available?
When will the Context API be available?
The Context API is currently in development. Contact justin@peoplecontext.com to express interest and be notified when it launches.
What LLM powers custom field generation?
What LLM powers custom field generation?
We use state-of-the-art LLMs (GPT-4, Claude, etc.) optimized for accuracy and cost-efficiency.
Can I use my own LLM for custom fields?
Can I use my own LLM for custom fields?
Enterprise customers can integrate their own LLM endpoints. Contact sales for details.
How accurate are generated custom fields?
How accurate are generated custom fields?
Accuracy depends on:
- Input data quality
- Schema description clarity
- Confidence threshold
- Complexity of the field