Cloudflare API - DNS, Zones, Cache & Security
Pricing
from $0.01 / 1,000 results
Cloudflare API - DNS, Zones, Cache & Security
Manage your Cloudflare infrastructure programmatically. Configure DNS records, manage zones, purge cache, set up page rules, and control security settings through a single interface. Features Zone Management DNS Management Cache Control Page Rules Security & Analytics
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer

John Rippy
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 days ago
Last modified
Categories
Share
API Integration
This actor connects to an external API service. You'll need valid API credentials from the service provider.
API Integration
This actor connects to an external API service. You'll need valid API credentials from the service provider.
Manage Cloudflare programmatically. Configure DNS records, manage zones, purge cache, set up page rules, and control security settings. Perfect for DevOps automation, multi-site management, and infrastructure-as-code workflows.
Features
Zone Management
- list_zones - List all zones in your account
- get_zone - Get detailed zone information
- get_zone_settings - Get all zone settings
- update_zone_setting - Update a specific zone setting
DNS Management
- list_dns_records - List all DNS records for a zone
- get_dns_record - Get a specific DNS record
- create_dns_record - Create a new DNS record
- update_dns_record - Update an existing DNS record
- delete_dns_record - Delete a DNS record
Cache Control
- purge_cache - Purge all cached content for a zone
- purge_cache_by_url - Purge specific URLs from cache
Page Rules
- list_page_rules - List all page rules
- create_page_rule - Create a new page rule
- delete_page_rule - Delete a page rule
Security & Analytics
- list_firewall_rules - List firewall rules
- get_analytics - Get zone analytics data
- get_user - Get current user information
Quick Start
{"input": "your input here"}
Demo Mode
Set demoMode: true to test with sample data (no charges). When you're ready for real results, set demoMode: false or omit it.
{"demoMode": true,...}
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| See input schema |
Output Format
{"task": "list_dns_records","success": true,"results": [{"id": "abc123","type": "A","name": "www.example.com","content": "192.168.1.1","proxied": true,"ttl": 1,"created_on": "2024-01-15T10:00:00Z","modified_on": "2024-01-20T14:00:00Z"}],"count": 1,"timestamp": "2024-01-20T14:30:00Z"}
Pricing
This actor uses pay-per-event billing: $0.01 per query (all tasks)
Use Cases
- DevOps Automation - Automate DNS changes during deployments
- Multi-site Management - Manage DNS across multiple domains
- Cache Invalidation - Purge cache after content updates
- SSL Management - Configure SSL settings programmatically
- Security Automation - Manage firewall rules based on events
- Infrastructure as Code - Version control your Cloudflare config
- Monitoring - Pull analytics data for custom dashboards
Common Problems & Solutions
"Invalid API key" error
Cause: Your API key is wrong, expired, or doesn't have the right permissions. Fix: Double-check your API key. Make sure you copied it exactly without extra spaces.
"Rate limit exceeded" error
Cause: You've hit the API's rate limits. Fix: Wait a few minutes, then try again. Consider reducing the number of concurrent requests.
Empty or incomplete results
Cause: The target may have anti-scraping protection or the data doesn't exist. Fix:
- Check if the URL/search query is correct
- Try with different parameters
- Some sites may block automated access
Demo data showing instead of real results
Cause: demoMode is still set to true.
Fix: Set demoMode: false and provide your API key(s).
Built by John Rippy | Actor Arsenal


