Integrations
WordPress plugin
The edge check inside WordPress, for sites that are not behind Cloudflare.
Install
- 1Install the plugin from WordPress.org: search for IPScanner under Plugins and activate it.
- 2In Settings → IPScanner, click Connect with IPScanner and sign in. The plugin gets an API key and a dashboard site for this WordPress site.
- 3Prefer to paste? <link>Add a WordPress site</link> in the dashboard, then enter your API key and its Site ID.
- 4Choose the protected areas and save.
The site starts in monitor mode. Its traffic and policy are on its page under Sites.
Overview and download on the WordPress plugin page.
What the plugin sends
- POST /v1/edge/checkCosts 1 credit
One call per visitor on a protected area.
- GET /v1/sites/{id}/policyNot metered
The site's policy, so a change in the dashboard needs no change in WordPress.
- X-IPScanner-Source: wordpress
Marks the call as the plugin's in your traffic and usage.
- User-Agent: ipscanner-wordpress/<version>
The plugin version, shown on the site's page.
curl https://ipscanner.io/v1/edge/check \
-H "Authorization: Bearer $IPSCANNER_API_KEY" \
-H "X-IPScanner-Source: wordpress" \
-H "Content-Type: application/json" \
-d '{"site":"site_4fQ8nZ2kLm7xR1vT9cBw","ip":"203.0.113.7","user_agent":"Mozilla/5.0"}'