Skip to main content
GET
Check DNC status

Overview

Check if a specific LinkedIn URL is on your team’s Do Not Contact (DNC) list. This endpoint performs a fast lookup with intelligent caching to determine if a prospect should be excluded from outreach campaigns.

Use Cases

  • Pre-Import Validation: Check URLs before importing prospects to avoid DNC violations
  • Real-time Filtering: Validate contacts in real-time before adding to campaigns
  • Compliance Verification: Ensure a contact isn’t on the DNC list before outreach
  • Integration Checks: Validate contacts from external systems against your DNC list
  • Automated Workflows: Build automated systems that respect DNC preferences

Key Features

  • Intelligent Caching: 5-minute TTL cache for ultra-fast repeated lookups
  • URL Normalization: Automatically normalizes LinkedIn URLs for accurate matching
  • Rate Limited: 60 requests per minute for optimal performance
  • Team Isolation: Only checks against your team’s DNC entries
  • Detailed Response: Returns full entry details if URL is found on list

Testing Example

Query Parameters

URL Format

The endpoint accepts various LinkedIn URL formats:
  • https://linkedin.com/in/username
  • https://www.linkedin.com/in/username/
  • linkedin.com/in/username
  • in/username
All formats are automatically normalized to: https://linkedin.com/in/username

Response Format

Success Response (200 OK)

URL Found on DNC List

URL NOT Found on DNC List

Error Responses

400 Bad Request - Missing URL

429 Too Many Requests - Rate Limit Exceeded

401 Unauthorized - Invalid API Key

500 Internal Server Error

Caching Mechanism

The DNC check endpoint uses intelligent caching to optimize performance:

Cache Details

  • TTL: 5 minutes (300 seconds)
  • Scope: Team-level isolation
  • Key: Based on normalized LinkedIn URL
  • Invalidation: Automatic on DNC list modifications

Cache Benefits

  1. Fast Lookups: Cached responses returned in < 10ms
  2. Reduced Load: Minimizes database queries for repeated checks
  3. Cost Savings: Fewer database operations
  4. Better UX: Near-instant responses for cached URLs

Cache Behavior

URL Normalization

All LinkedIn URLs are automatically normalized before checking:

Normalization Rules

This ensures consistent matching regardless of URL format.

Rate Limiting

  • Limit: 60 requests per minute per team
  • Window: Rolling 60-second window
  • Shared Limit: Shared with other DNC read operations
  • Exceeded: Returns 429 status with resetTime timestamp

Integration Examples

Pre-Import Validation

Real-time Campaign Filtering

Batch Validation with Caching

Integration with CRM

Automated Compliance Check

Best Practices

  1. Always Check Before Adding: Validate URLs before adding to campaigns
  2. Handle Rate Limits: Implement exponential backoff for 429 responses
  3. Batch with Delays: Add delays between batch checks to respect rate limits
  4. URL Encoding: Always URL-encode the LinkedIn URL parameter
  5. Cache Awareness: Understand that results are cached for 5 minutes
  6. Error Handling: Always check for error field in response
  7. Automated Integration: Integrate checks into your import workflows

Performance Considerations

  • Cached Response: < 10ms for cached entries
  • Database Query: ~100ms for non-cached entries
  • URL Normalization: Automatic and fast
  • Team Isolation: Permissions enforced at database level
  • Composite Index: Optimized queries with teamId + url index

Response Fields

Common Use Cases

Pre-Campaign Validation

Import Wizard Integration

Next Steps

After checking DNC status:
  1. Add to DNC: If not on list, use Add Single endpoint
  2. Import Prospects: Proceed with import if URL is not on DNC list
  3. View All Entries: Use List DNC endpoint
  4. Remove Entry: Use Delete DNC endpoint if needed

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

url
string
required

LinkedIn profile URL to check

Example:

"https://linkedin.com/in/johnsmith"

Response

DNC check result

error
null
data
object
Last modified on November 18, 2025