Quickstart
Make your first Marvin2 API calls in a few minutes.
Before you start
You need an organization API key in the format r6-<keyId>.<secret>. Send it on every request:
x-api-key: r6-yourKeyId.yourSecret
Base URL: https://classification.relativity6.com
Endpoints
| Endpoint | Purpose |
|---|---|
POST /marvin2 | Industry classification (NAICS, SIC, workers comp, general liability) |
POST /co-tenant | Geocoding, building footprint, and co-tenant mix for a US address |
Product-wide guides (Caching, Confidence scores) apply across Marvin2 where noted on each endpoint page.
Try classification
Send a company name (city and state help):
POST /marvin2
See Classification for prediction types, response tuning, and description-only mode.
Try co-tenant
Send a complete US address (all four fields required):
POST /co-tenant
See Co-tenant for response fields and Platform API alternatives.
What's next
- Classification — everything for
POST /marvin2 - Co-tenant — everything for
POST /co-tenant - Caching —
X-Marvin2-Cacheand repeat requests - Confidence scores — using
accuracyin workflows - API reference — full request and response specifications