<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet" /> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />

Privacy Policy and Cookies

Last updated: November 25, 2026

This Privacy Policy describes how CountryDataAPI ("CountryDataAPI", "we") collects, uses and shares your personal data when you use the website and services available at countrydataapi.com (the "Service"): the geographic data API, the MCP server, the customer dashboard, paid subscriptions and the blog.

1. Controller

The controller of your personal data is CountryDataAPI. For any question about your privacy, write to us at [email protected] .

2. Who this applies to

We distinguish two types of user, with different data processing:

Visitors: browse the site, the documentation and the blog without an account. For them we only process technical data and, if they accept, analytics and advertising cookies.

Registered customers: create an account to obtain an API key, use the API or the MCP server and, where applicable, subscribe to a paid plan.

3. Data we process

We only process the data needed to provide the Service:

Account data: email, first and last name, company, contact email and your hashed password. If you sign up with Google, we also receive your Google account identifier, your name and your verified email.

API usage data: requests made (route, method, result, cost and duration), the key or key prefix used, your quota consumption and technical logs, including the IP address, to apply limits and prevent abuse.

Subscription and billing data: plan, subscription status, coupons applied, Stripe customer and subscription identifiers and invoice history. Your card details are handled directly by Stripe; we do not store them.

Communications: the messages you send us and our replies, a log of the emails we send you and your email preferences.

Technical browsing data: cookies and storage needed to keep your session and remember your cookie choice and, only if you accept them, analytics and advertising cookies (see "Cookies and analytics").

We do not request or process special categories of data.

4. Purposes and legal basis

Creating and managing your account, authenticating you and providing the API and the dashboard (performance of the contract).

Charging, invoicing and meeting tax and accounting obligations (performance of the contract and legal obligation).

Applying quotas and limits, keeping the Service secure and preventing fraud and abuse (legitimate interest in keeping the Service working properly).

Sending service and transactional emails: verification, password reset, billing and security notices (performance of the contract).

Sending marketing or product news emails, only with your consent or where the law allows; each one includes an unsubscribe link (consent or legitimate interest).

Answering your messages (legitimate interest or pre-contractual measures).

Measuring use of the site and the product in aggregate to improve them, with a cookie-free visit count and internal account usage events (legitimate interest); Google Analytics and Google AdSense only with your consent.

5. Who we share your data with

Stripe: processes payments and manages subscriptions and invoices.

Resend: delivers service and transactional emails.

Google: if you sign up with your Google account, sign-in takes place through its systems and is governed by its own privacy policy. If you accept cookies, Google Analytics 4 (analytics) and Google AdSense (ads for visitors without a paid plan).

LimeCount: anonymous, cookie-free visit count.

Infrastructure providers: hosting, database (MongoDB) and technical support, which process data on our behalf and under our instructions.

We do not sell your personal data.

6. Retention

We keep your account data while your account is active and for as long as it is needed for the purposes described. After you close it, we keep only what is needed to meet legal obligations and handle claims; for example, invoicing data is kept for the period required by Spanish tax and commercial law (generally 6 years). The detailed log of API requests is deleted automatically after 90 days. You can request the deletion of your account and your data at any time by writing to [email protected] .

7. International transfers

Some of our providers (such as Stripe, Resend or Google) may process data outside the European Economic Area, for example in the United States. In those cases we rely on adequate safeguards under the applicable rules, such as adequacy decisions (including the EU-US Data Privacy Framework) or standard contractual clauses.

8. Security

We apply reasonable technical and organisational measures appropriate to the risk: encrypted connections, hashed passwords, access controls and limited retention. We will never ask you for your full API key by email. If a breach affects your rights, we will notify you and the authority as required.

9. Cookies and analytics

Strictly necessary cookies and storage (your session and your cookie choice) do not need consent and are used to make the site work.

Only if you click "Accept all" in the cookie banner do we load Google Analytics 4, which stores cookies (_ga and _ga_*, up to 2 years) to recognise repeat visits, and Google AdSense, which shows ads to visitors without a paid plan. We do not load them before. With "Necessary only" no analytics cookie is stored; we only keep an anonymous, cookie-free visit count (LimeCount).

You can change or withdraw your choice at any time using the "Cookie preferences" link in the footer, and also delete cookies from your browser settings.

10. Your rights

Under the GDPR and applicable law, you have the right to access, rectify, erase and port your data, and to object to or restrict its processing. You can also withdraw your consent at any time. To exercise these rights, write to us at [email protected] . We will answer within the legal time limits. You also have the right to lodge a complaint with the competent supervisory authority (in Spain, the AEPD, www.aepd.es).

11. Minors

The Service is aimed at professionals and businesses, not at minors. If you believe a minor has given us data without proper authorisation, contact us so we can remove it.

12. Changes to this policy

We may update this Privacy Policy to reflect changes in the Service or in the law. We will publish the current version on this page with its update date.

13. Contact

For any question about this policy or about the processing of your data, write to us at [email protected] .