Skip to content

Get DNS API Tutorial

CloudFlare -- Global

When using Global, do not enable API-Limit option

  1. Log in to your CloudFlare account

  2. Click on Profile in the top-right corner

  3. Select the API Tokens tab

  4. Click to view Global API Key, and complete verification prompt

alt text

For more details, refer to CloudFlare Global API Key

CloudFlare -- API-Limit

When using Create Token, enable API-Limit option

  1. Log in to your CloudFlare account

  2. Click on Profile in the top-right corner

  3. Select the API Tokens tab

  4. Click the Create Token button alt text

  5. Select template: Edit zone DNSalt text

  6. In Zone Resources - Select All Zones, then click Continue to summaryalt text

  7. Click Create Tokenalt text

  8. Note: The token is displayed only once. Please copy the token and save it securely. alt text

When using Create Token, enable API-Limit option

For more details, refer to CloudFlare Create API token

NameCheap

Currently NameCheap only supports IPv4 access

  1. Log in to your NameCheap account

  2. Navigate to:
    Profile --> Tools --> Namecheap API Access
    alt text

  3. Enable API Access and add your server's IPv4 address
    alt text

For more details, refer to NameCheap API