The Waterfall Model

Mapping of Baselayer API
- Start with Business Search - This is your foundation
- Get a verified
business_id- This unlocks everything else - Branch to specialized products - Use the
business_idto access liens, litigation, monitoring, etc.
Understanding Key IDs
Baselayer uses different ID types to organize data. Understanding these IDs is essential for navigating the API.
Key Insight: The
business_id is your gateway. Once you have it from a Business Search, you can access all other Baselayer products for that business.
Note on Baselayer IDs: Everything in Baselayer has a unique identifier: addresses, registrations, officers, lien filings, court cases, and more. These IDs enable:
- Direct retrieval: use
GET /addresses/{address_id},GET /registrations/{registration_id}, etc. to fetch specific objects - Network tracking: follow activity and relationships across the Baselayer identity network
- Persistent references: store IDs to retrieve updated information at any time
The Basic Flow
Step 1: Initiate a Business Search
Start with a Business Search. Minimum required fields arename and address (freeform).
search_id and begins processing asynchronously.
Step 2: Get Results via Webhook or Polling
Recommended: Use Webhooks When the search completes (typically 3-5 seconds without options), you’ll receive aBusinessSearch.completed webhook:
Step 3: Branch to Specialized Products
Now you can use thebusiness_id from the search results to access other Baselayer products:
Lien Search
liens_search_request_id and processes asynchronously. Results include all found liens, each with its own filing_id.
Litigation/Bankruptcy Search
docket_search_request_id and processes asynchronously. Results include all found cases, each with its own docket_id.
Portfolio Monitoring
Add the search to ongoing monitoring:Complete Flow Example
Here’s how a typical integration looks from start to finish:When to Use Each Product
Always Start Here
Business Search - Your foundation for all other products. Provides:- Secretary of State registration verification
- IRS TIN matching
- OFAC/sanctions screening
- Business identity and structure
- Officer information
- Risk scoring
Optional Add-Ons (use business_id from search)
Lien Search - When you need collateral or credit risk assessment- UCC liens (secured lending)
- Tax liens (unpaid obligations)
- Judgment liens
- Federal and state court cases
- Bankruptcy filings (Chapter 7, 11, 13)
- Case details and exhibits
- Note: portfolio monitoring uses
search_id, not thebusiness_id, for the API request - Automatic monitoring for changes and customizable alerting
- SoS status updates, new liens, bankruptcies, sanctions hits
Standalone Products (don’t require business_id)
TIN Verification - Standalone IRS validation- Can be used independently from Business Search
- Real-time verification
- Commonly used to verify the SSN of officers or sole proprietorships
- Website discovery and analysis
- Industry classification (NAICS, MCC, SIC)
- Digital legitimacy signals
- Multiple sanctions and watchlists
- PEP screening
Important Concepts
Asynchronous by Default
Most Baselayer products are asynchronous - they return immediately with a request ID, then process in the background and notify you via webhook when complete. Why? Operations vary in complexity:- Basic Business Search: 3-5 seconds (without additional options)
- Other products (liens search or docket search): 2-10 seconds
- Specialized online presence products: 15-60 seconds
Accept: application/vnd.osiris.sync+json header. This returns results in 3-5 seconds without requiring webhooks.
See: Webhooks at Baselayer and Asynchronous vs. Synchronous API
Quick Reference: Common API Patterns
Pattern 1: Simple Business Verification
Pattern 2: Business Verification + Liens
Pattern 3: Business Verification + Monitoring
Next Steps
Now that you understand how Baselayer products connect, you’re ready to:- Set up authentication: Authentication guide
- Configure webhooks: Webhooks at Baselayer
- Choose your environment: Sandbox vs. Production
- Start with Business Search: Business Search guide