Skip to main content
Experimental Feature: The Context API is currently in active development and may undergo changes. Contact justin@peoplecontext.com for early access.

Overview

The Context API is our most powerful endpoint. Send us unstructured data about a person, and we’ll:
  1. Enrich the profile with data from our websets
  2. Structure the data into our standard schema
  3. Generate custom fields using LLMs based on your requirements

Endpoint

Request Parameters

person
string | object
required
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"}
schema
object
Custom fields you want generated for this profile. Each field should have a type and description.Example:
confidence
number
default:"0.9"
Minimum confidence threshold for returned data (0.0 - 1.0). Higher values return more accurate data but may exclude some information.
webhook_url
string
Optional webhook URL to receive the enriched profile asynchronously.
response_timeout_sec
number
default:"30"
Maximum time to wait for enrichment before sending to webhook.

Response Schema

The response includes:
  • All standard profile fields (from our unified schema)
  • A custom object 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

The quality of custom fields depends on clear, detailed descriptions:Good:
Bad:
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
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
Contact sales for detailed pricing.

FAQ

The Context API is currently in development. Contact justin@peoplecontext.com to express interest and be notified when it launches.
We use state-of-the-art LLMs (GPT-4, Claude, etc.) optimized for accuracy and cost-efficiency.
Enterprise customers can integrate their own LLM endpoints. Contact sales for details.
Accuracy depends on:
  • Input data quality
  • Schema description clarity
  • Confidence threshold
  • Complexity of the field
We recommend testing with your specific use case and adjusting the confidence threshold accordingly.