PactDig API v1

REST API for institutional investors, hedge funds, and fintech platforms. GAAP-grounded financial fraud analysis with 206 AAER enforcement cases.

Authentication

All requests require an API key in the X-API-Key header. Keys start with pk_.

curl -H "X-API-Key: pk_xxxxxxxx" https://pactlens.net/api/v1/usage

Endpoints

POST/api/v1/analyze

Analyze a single SEC filing by ticker symbol.

Request

{"ticker":"AAPL","deep":false,"filingType":"10-K","weights":{"rf":35,"hp":30,"ng":15,"fh":10,"gv":10}}

Response

{"companyName":"Apple Inc.","healthScore":72,"overallHealth":"strong","_fraudScore":{"overallFraudRisk":25}}
POST/api/v1/bulk

Analyze up to 50 tickers concurrently (3 at a time).

Request

{"tickers":["AAPL","MSFT","NVDA"],"deep":false}
GET/api/v1/usage

Check your API key rate limits and current usage.

POST/api/v1/register

Self-service API key registration (no auth required).

Request

{"email":"you@example.com","name":"Your Name"}
POST/api/v1/export

Export analysis results as CSV (requires auth).

Rate Limits

TierDailyMonthlyBulk MaxPrice
Pro1002,00010$49/mo
Enterprise1,00020,00050$499/mo

Get API Access

Register for a free Pro API key or contact us for Enterprise.