Skip to content

Atlas API Reference

All API routes are mounted inside the Next.js app at /api/rpc/* using oRPC. The router modules live in packages/api/src/routers/.

Route Structure

/api/rpc/
├── users/v1/        # User profile & subscriptions
├── auth/            # Admin-only user management
├── search/v1/       # Property search & saved searches
├── payments/        # Subscription & credit management
├── leads/v1/        # Lead groups & skip tracing
├── divorce-leads/v1/# Divorce lead intelligence
├── scout/v1/        # Scout city-based property data
├── helpcenter/v1/   # Help articles
├── feature-requests/v1/ # Feature request inbox
├── webhooks/v1/     # Chargebee webhook receiver
└── fetchPropertyImages/ # Property image fetching

Users (/users/v1)

MethodPathDescription
PUT/updateUpdate profile (name, phone, location, profession)
POST/subscriptionCreate Chargebee subscription for a plan
PUT/onboarding/completeMark user onboarding complete
POST/waitlistAdd email to public waitlist (ConvertKit)

Auth / Admin (/auth)

All routes require ADMIN role.

MethodPathDescription
GET/getAllCreditsAll user credit balances (paginated)
GET/getAllPaymentsAll payment transactions (paginated)
GET/getCreditStatsGlobal credit statistics
GET/getCreditWeightsCredit weight config per operation type
PUT/updateEnrichmentWeightUpdate skip-trace credit weight
POST/uploadProfileImageUpload user profile image to S3

Search (/search/v1)

MethodPathDescription
POST/Execute property search with filters — deducts credits
POST/previewPreview result count without deducting credits
POST/exportExport results to CSV
POST/saveSave search results under a name
GET/savedList all saved searches for user
GET/saved/:idGet saved search with all properties
PATCH/saved/:idRename a saved search
DELETE/saved/:idDelete a saved search

Search Filters

The POST / body supports filtering across:

  • Address fields (state, city, county, zip)
  • Property type, bedrooms, bathrooms, square footage
  • Owner type (individual, corporate, LLC)
  • Equity, LTV, estimated value range
  • Foreclosure status, lien presence
  • Last sale date range
  • BatchData dataset-specific fields

Dataset Unlocking

Individual dataset fields within a property result can be unlocked on-demand:

MethodPathDescription
POST/unlockPropertyDataUnlock a specific dataset field for a property (deducts credits)

Payments (/payments)

MethodPathDescription
GET/getSubscriptionStatusCurrent subscription + available credit balance
GET/getPaymentHistoryPaginated payment/invoice history
GET/getPlansAvailable subscription plans from Chargebee
GET/getCreditUsageCredit usage breakdown (SEARCH vs SKIPTRACE)
GET/getCreditWeightsCredit cost per operation type
POST/purchaseCreditsOne-time credit top-up
POST/createSubscriptionStart a recurring subscription
PUT/updateSubscriptionUpgrade/downgrade plan or billing period
POST/cancelSubscriptionCancel subscription (stays active until end of billing period)
POST/reactivateSubscriptionReactivate a cancelled subscription

Leads / Skip Tracing (/leads/v1)

MethodPathDescription
GET/listList lead groups with enrichment status
GET/list/all-idsGet all lead group IDs
GET/:idGet contacts in a group (paginated, searchable)
GET/:id/contacts/all-idsAll contact IDs in group (for bulk ops)
GET/:id/exportExport lead group to CSV
POST/uploadUpload contacts from CSV/Excel file
PUT/:idUpdate lead group metadata (name, description, tags)
DELETE/:idDelete lead group
DELETE/contacts/:idDelete individual contact
GET/skiptracingGet skip tracing job status/results

See Leads & Enrichment for the full upload + enrichment flow.


Divorce Leads (/divorce-leads/v1)

MethodPathDescription
GET/overviewSummary counts across subscribed states
GET/citiesDivorce leads filtered by state/city with pagination

Scout (/scout/v1)

MethodPathDescription
GET/request-email-dataGet scout request email info
GET/citiesAvailable scout cities
GET/users[ADMIN] List scout users (paginated)
PUT/preferences[ADMIN] Update scout preferences
PUT/cities[ADMIN] Update available scout cities
POST/sync-property-permissions[ADMIN] Sync property dataset permissions for scout users

Help Center (/helpcenter/v1)

MethodPathDescription
GET/articlesList published articles (filter by category, search by query)
GET/articles/:slugGet single article (increments view counter)
GET/admin/articles[ADMIN] All articles including unpublished
POST/admin/articles[ADMIN] Create article
PUT/admin/articles/:id[ADMIN] Update article
DELETE/admin/articles/:id[ADMIN] Delete article

Categories: ACCOUNT_BILLING, SKIP_TRACING, SEARCH_FEATURES, LEGAL_COMPLIANCE, TECHNICAL_SUPPORT, CREDITS


Feature Requests (/feature-requests/v1)

MethodPathDescription
POST/Submit a feature request
GET/List the user's submitted requests
PUT/:id[ADMIN] Update status or priority
DELETE/:id[ADMIN] Delete a request

Statuses: PENDING, REVIEWED, IN_PROGRESS, COMPLETED, REJECTED


Webhooks (/webhooks/v1)

MethodPathDescription
POST/chargebeeWebhookReceive Chargebee subscription/payment events

Handles events: subscription created, plan changed, subscription cancelled/reactivated, invoice paid/failed.


Property Images

MethodPathDescription
POST/fetchPropertyImagesFetch and cache property images from Google Maps/Repliers into S3
GET/getPropertyImageRetrieve a cached property image from S3

Health Check

MethodPathDescription
GET/health-checkReturns 200 OK — used by load balancer