Base URL
All API requests use the following base URL:
https://www.namepros.com/api/v1/
Example Requests
Create a campaign:
curl -X POST \
-H "XF-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"horizontal_logo_url": "https://example.com/logo-wide.png",
"vertical_logo_url": "https://example.com/logo-tall.png",
"theme": "#ff5500",
"logo_action": "https://example.com"
}' \
https://www.namepros.com/api/v1/ads/campaigns
Logo images are automatically downloaded, sanitized, and re-hosted on the NamePros CDN.
List your campaigns:
curl -H "XF-Api-Key: YOUR_API_KEY" https://www.namepros.com/api/v1/ads/campaigns
Create a new listing:
curl -X POST \
-H "XF-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "example.com",
"ad_expires_at": 1735689600,
"action_label": "Buy Now",
"action_url": "https://example.com/buy?utm_source=namepros"
}' \
https://www.namepros.com/api/v1/ads/campaign/1/listing