- You will need a CloudFlare account.
- Log into UpGuard and click Add Node.
From the node select screen click Cloud Services and then select CloudFlare from the dropdown list.
Field CloudFlare cURL Description Email address The email address associated with the API key. Website z The zone (domain) that statistics are being retrieved from. API Key tkn This is the API key made available on your Account page.
- Once you have located these credentials (see below), click Continue to add the node and kick off a node scan.
Email Address and API Key
Your CloudFlare email address is used to log into CloudFlare and can be found on the My Account page.
This is not your username.
Your API Key can also be found on this page.
You can add any of your websites listed under the My Websites page.
Enter the website address as it appears on the CloudFlare site. This will be without any protocol prefixes. If you want to add multiple websites to UpGuard, add each website as a separate node.
All calls through the CloudFlare Client API are rate-limited to 1200 every 5 minutes.
-d sets the POST parameter.
Retrieve the list of domains
curl https://www.cloudflare.com/api_json.html \ -d 'a=zone_load_multi' \ -d 'tkn=8afbe6dea02407989af4dd4c97bb6e25' \ -d 'firstname.lastname@example.org' \
Retrieve DNS Records of a given domain
curl https://www.cloudflare.com/api_json.html \ -d 'a=rec_load_all' \ -d 'tkn=8afbe6dea02407989af4dd4c97bb6e25' \ -d 'email@example.com' \ -d 'z=example.com'