IP Geolocation (CF-IPCountry and visitor location headers) vs DB-IP API
IP Geolocation (CF-IPCountry and visitor location headers)by CloudflarePaid fromNot statedAccessOtherAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
10 different3 stated by only one1 the same on both
The basics
What it isIP Geolocation (CF-IPCountry and visitor location headers): Adds the visitor's country, and with a managed transform city, region and coordinates, as headers on requests to the buyer's originDB-IP API: IP geolocation API in three data tiers (Basic location, Core adds ISP and ASN, Extended adds threat and proxy), plus a free endpoint
AccessIP Geolocation (CF-IPCountry and visitor location headers): OtherDB-IP API: HTTP, SDK
Still on saleIP Geolocation (CF-IPCountry and visitor location headers): YesDB-IP API: Yes
What they work on
BothIP address
Only one of themIP Geolocation (CF-IPCountry and visitor location headers): Nothing elseDB-IP API: Autonomous system number
Buying and paying
Agent gets a key aloneIP Geolocation (CF-IPCountry and visitor location headers): Noaccount made by a personDB-IP API: Yesthe free API takes the literal key "free"; paid keys need an account
Agent can payIP Geolocation (CF-IPCountry and visitor location headers): Not statedDB-IP API: Nocheckout in a web dashboard; no programmatic or x402 payment path stated
Subscription requiredIP Geolocation (CF-IPCountry and visitor location headers): NoDB-IP API: Yes
Pay per callIP Geolocation (CF-IPCountry and visitor location headers): Nono meterDB-IP API: No
Reading and signing up
Public pricesIP Geolocation (CF-IPCountry and visitor location headers): Yeson every plan, Free includedDB-IP API: Yesstarting prices only
Self-serve sign-upIP Geolocation (CF-IPCountry and visitor location headers): Yesfree accountDB-IP API: Yesfree trial on Starter and Premium
Free useIP Geolocation (CF-IPCountry and visitor location headers): YesFree plan includes itDB-IP API: Yesfree API (key "free"); limit not on the pages read
OpenAPIIP Geolocation (CF-IPCountry and visitor location headers): YesCloudflare API has a public OpenAPI schema (toggle only)DB-IP API: Not stated
Docs without loginIP Geolocation (CF-IPCountry and visitor location headers): Yesdevelopers.cloudflare.comDB-IP API: Yes
llms.txtIP Geolocation (CF-IPCountry and visitor location headers): Yescloudflare.com/llms.txtDB-IP API: Not stated
Jobs both do
Open a job to see every API that does it.

