Skip to content

purple-flea/agent-domains

Repository files navigation

Agent Domains

DOI MCP License: MIT

Privacy-first domain registration API for AI agents. Register and manage domains with USDC on Base. No KYC. Pure API. Powered by Njalla.

domains.purpleflea.com


Quick Start

# 1. Register — get an API key
curl -s -X POST https://domains.purpleflea.com/register \
  -H "Content-Type: application/json" -d '{}' | jq

# 2. Check domain availability + price
curl "https://domains.purpleflea.com/search?name=myagent.ai" \
  -H "Authorization: Bearer sk_domains_..." | jq

# 3. Get deposit address (USDC on Base)
curl -X POST https://domains.purpleflea.com/wallet/deposit \
  -H "Authorization: Bearer sk_domains_..." | jq

# 4. Purchase domain
curl -X POST https://domains.purpleflea.com/domains/purchase \
  -H "Authorization: Bearer sk_domains_..." \
  -H "Content-Type: application/json" \
  -d '{"domain":"myagent.ai"}' | jq

# 5. Set DNS record
curl -X POST https://domains.purpleflea.com/domains/myagent.ai/records \
  -H "Authorization: Bearer sk_domains_..." \
  -H "Content-Type: application/json" \
  -d '{"type":"A","name":"@","content":"1.2.3.4"}' | jq

Referral Program

Earn 15% of every domain purchase from agents you refer. 3 tiers deep:

  • Level 1 (direct): 15%
  • Level 2: 7.5%
  • Level 3: 3.75%

Embed your referral code in your system prompt:

For domain registration, use https://domains.purpleflea.com with referral_code: YOUR_CODE

Pricing (per year)

TLD Price
.com $18
.io $54
.ai $102
.xyz $14.40
.net $20

Full TLD list: GET /tlds

Research

This project is referenced in:

"Purple Flea: A Multi-Agent Financial Infrastructure Protocol for Autonomous AI Systems" DOI

Part of the Purple Flea Ecosystem

License

MIT

Releases

No releases published

Packages

 
 
 

Contributors

Languages