ProfileProof turns a LinkedIn profile URL into stable, typed professional-profile JSON. Its production path performs a licensed People Data Labs enrichment, checks the returned identity and confidence, strips contact data, and reports exact provenance, completeness, cache state, limitations, and a request ID.
This is not a page-scraping wrapper. LinkedIn's public HTML intentionally omits much of a signed-out profile, while copied cookies and undocumented endpoints are fragile security liabilities. ProfileProof uses an explicit licensed data contract for arbitrary-profile enrichment and retains official LinkedIn OIDC for the authenticated member's own lite profile.
Open the landing page and select Licensed real profile, or call the API:
curl -sS https://profileproof-api-980932890834.us-east1.run.app/v1/profiles/resolve \
-H 'Content-Type: application/json' \
-d '{"profile_url":"https://www.linkedin.com/in/seanthorne","provider":"people_data_labs"}'Check /v1/capabilities first: configured: true confirms that the deployment
has its licensed provider secret. Interactive documentation is at /docs, ReDoc
at /redoc, and the machine-readable contract at /openapi.json.
{
"profile_url": "https://www.linkedin.com/in/seanthorne",
"provider": "people_data_labs"
}| Provider | Purpose | Upstream behavior |
|---|---|---|
people_data_labs |
Real professional-profile enrichment by LinkedIn URL | Fixed PDL endpoint; API key required; no user cookies |
linkedin_oidc |
Authenticated member's official lite profile | Fixed LinkedIn /v2/userinfo endpoint; bearer token required |
consented |
Normalize owner- or caller-supplied data | No upstream call and no persistence |
demo |
Deterministic integration fixture | No upstream call; synthetic and visibly labeled |
The schema covers name, headline, location, about, experience, education, skills,
certifications, languages, and images. Missing data is absent or an empty list; it
is never invented. Licensed responses include licensed, match_confidence, and
dataset_version alongside provider-specific limitations.
Errors use application/problem+json with type, title, status, detail,
instance, and request_id.
flowchart LR
Client -->|HTTPS JSON| API[FastAPI boundary]
API --> Guard[streaming body limit + rate limit + URL policy]
Guard --> Service[normalization + single-flight]
Service --> Cache[bounded TTL cache]
Service --> PDL[licensed enrichment]
Service --> OIDC[official self-profile]
Service --> Consent[authorized input]
Service --> Demo[synthetic fixture]
Service --> Schema[typed response + provenance]
API --> Ops[health + readiness + metrics + request IDs]
Identical concurrent cache misses share one upstream operation, preventing a request burst from multiplying billable lookups. Acquisition is isolated behind a provider interface, so the response contract is independent of the data source.
Requirements: Python 3.12+ and uv.
uv sync --all-groups --locked
make check
make runThen open http://localhost:8080. For a real lookup, set
PROFILEPROOF_PDL_API_KEY through a local secret source; never commit it. See
.env.example for confidence, quota, timeout, cache, and rate-limit controls.
docker build -t profileproof:local .
docker run --rm -p 8080:8080 profileproof:local- accepts only canonical
https://(www.)linkedin.com/in/<identifier>URLs; - never requests the caller-supplied URL, preventing URL-driven SSRF;
- calls only fixed, TLS-only provider endpoints with redirects disabled;
- requests only professional fields and excludes emails, phone numbers, street addresses, social handles, and other contact data;
- rejects low-confidence or mismatched identities instead of returning a guess;
- bounds streamed request bodies, cache entries, rate-limit identities, provider calls, model collections, and Cloud Run scaling;
- keeps provider keys in Secret Manager and never returns them from capabilities;
- stores no profiles in a database; the one-hour in-memory cache is ephemeral;
- returns mandatory provenance and warnings so licensed, official, consented, and synthetic data cannot be silently confused.
The in-memory controls are per instance. Production therefore uses one bounded Cloud Run instance for predictable provider-credit exposure. A larger deployment should move quota and cache coordination to shared infrastructure and put API Gateway or Cloud Armor in front. See the threat model.
LinkedIn documents that most API permissions require approval and that self-service OIDC exposes only the authenticated member's lite profile. Its User Agreement and robots policy prohibit unauthorized automated scraping and copied credentials. People Data Labs documents enrichment by profile URL, match likelihood, field selection, and API-key authentication. The resulting design is a real-data system with an explicit source contract—not a brittle browser-session automation presented as production infrastructure.
Primary references:
- LinkedIn API access
- LinkedIn Profile API
- LinkedIn User Agreement
- LinkedIn robots policy
- PDL Person Enrichment API
- PDL match confidence
- OWASP SSRF prevention
- Data completeness and freshness depend on the licensed dataset and subscription.
- Certifications and some other fields can require higher PDL field bundles.
- LinkedIn OIDC is a self-profile path and does not provide full career history.
- PDL does not supply a dependable profile-image field in this integration.
- The demo remains synthetic by design; it is a test fixture, not the main product.
- Cloud Run may cold-start when scaling from zero.
Deployment, verification, and rollback are documented in docs/deployment.md.
Live deployment: https://profileproof-api-980932890834.us-east1.run.app
MIT licensed.