# Privacy policy

This policy explains how crawlapi, operated by Muzammil ("we", "us"), handles personal data when you visit crawlapi.dev, docs.crawlapi.dev or app.crawlapi.dev, create an account, buy credits, use the playground or send requests to the API. Every number below is what our systems actually do. If a sentence here is not true of the service, it is a bug and we want to hear about it at support@crawlapi.dev.

## Who is responsible

- For your account, payments, our logs and security records, and the copies of pages we keep to fix wrong answers, we decide why and how the data is used: we are the **controller**.
- For the pages you ask the API to fetch, you decide which pages and why. For any personal data in those pages, you are the controller and we act on your instructions as a **processor**, under the [data processing terms](/dpa).
- Contact for anything in this policy: support@crawlapi.dev. The same address reaches our grievance officer for India, named in the [contact section of the terms](/terms#contact).

## In short

- We keep what we need to run your account, bill you correctly and keep the service safe — not more.
- We do not keep the pages you fetch, except a small sample, without the URL's path or query, for 7 days, to fix wrong answers.
- We do not sell personal data, share it for advertising, or use it to train machine learning models.
- crawlapi.dev and docs.crawlapi.dev use Piqo, a web analytics service, to count visits and see which pages lead to sign-ups and purchases. If you are in the European Economic Area or the United Kingdom, it waits until you accept. We run no advertising.

## Your account

- **Email address**, a display name if you give one, and a profile picture address if you sign in with Google. Your email is how you sign in and how we reach you about your account. We also keep a normalised form of it (lower case, without a `+tag`, and for Gmail without dots) so the aliases of one inbox share the playground's free pages.
- **Password**: only a hash of it, never the password. If you sign in with Google only, there is no password at all.
- **Sessions**: a session token, its expiry (7 days after the last renewal), and the IP address and user agent of the device that signed in, so we can keep you signed in and notice a stolen session.
- **Sign-in protection**: short-lived counters keyed by IP address that slow down repeated attempts. They are deleted by the nightly clean-up once they are a day old.
- **API keys**: only an HMAC-SHA256 hash of each key, its first 10 characters, and any name and description you give it, which we show so you can tell your keys apart. Nobody, including us, can read a key back out of the database. We record when a key was last used.
- **Security record**: an entry each time something important happens to your account — a sign-up, a sign-in or a failed one, a sign-out, a password reset, an email change, a key created or revoked — with the time and the IP address and user agent that made it.
- An account that never confirms its email address is deleted by the nightly clean-up once it is 24 hours old, so within 48 hours of signing up.

## Your usage

- One row per request we processed: request id, your account id, the key id, the **domain** of the URL (never its path or query), the step that produced the answer, the outcome code, the credits charged, the size of the response and how long it took. A request refused by a rate limit writes nothing. The usage and billing screens read these rows.
- One row per playground page: the request id, your account id and the time, to count the free pages.
- Your auto top-up settings, if you turn it on: the pack, the threshold, the monthly cap and what was spent this month, and the brand and last four digits of the card you saved for it, to show you which card it charges. Stripe keeps the card itself.

## Pages you ask us to fetch

- The markdown or JSON goes back to you in the response. It is not written to our database or to our logs.
- To find and fix wrong answers, we keep the bytes of some fetched pages for **7 days**, within a total of 5 GiB, then delete them. We keep them for failed requests, for login walls, for very short answers we suspect are wrong, for about 1 in 85 other successful requests chosen at random, and, for a set time while we investigate a problem with one site or one account, for that site's or account's requests, at most 50 a day for each site. A copy holds at most three pages of one request, each cut to 1 MiB, and the answer cut to 256 KiB, with the site's host name, header names, cookie names (never their values) and a few header values that identify a protection vendor. It never holds the URL's path or query, your key, or cookie values.
- Only we can read these copies, on our own server, to test our software against them. We do not sell them, publish them, show them to other customers or use them to train machine learning models.
- Some pages name or show people. We do not build profiles of anyone from the pages we fetch, and outside the 7-day copies we keep nothing of them. If you are named on a page and want a copy we hold deleted, write to support@crawlapi.dev.

## Payments

- Your purchases: the pack, the price, the credits, the time, and Stripe's identifiers for the checkout session, the payment and the charge, plus the credit ledger that records every change to your balance.
- A Stripe customer id, so each payment is tied to your account and a charge you did not make can be reversed.
- **We never see your card number.** Checkout is a redirect to Stripe's own page, and no Stripe script runs on our pages. Stripe processes your card, billing details and any tax id you give it under [its own privacy policy](https://stripe.com/privacy).

## Logs

- One record per request on our server: request id, method, the URL's host and a keyed fingerprint of the URL that cannot be turned back into it, account id, key id, the attempts made with their timings, the outcome code, credits, sizes and durations. Records name a host, never a URL path or query, and never contain page text, API keys, passwords or our providers' credentials. They are deleted after **90 days**.
- Daily totals built from those records, with no URL and no page text, are kept for **400 days** to follow cost and quality over time.
- Backups of our database are kept for up to 5 weeks and then deleted.

## Our websites and cookies

- crawlapi.dev and docs.crawlapi.dev load one third-party script, Piqo's analytics. They load no advertising, no tag manager and no fonts from a CDN.
- For each page you open, Piqo receives the page's address with its query, its title, the address of the page that sent you there, and your IP address and browser's user agent, from which it works out your country, region, city, device, operating system and browser. When you click a button or a link, it receives its text, for a link to another site also its address without the query, and the name we give some buttons, such as "Sign up". Piqo says it never writes your IP address to its database.
- Piqo sets one cookie, `piqo_visitor`: a random id kept for 1 year on crawlapi.dev and its subdomains, so that a later visit counts as the same visitor.
- **If you are in the European Economic Area or the United Kingdom, Piqo sends nothing about your visit and sets no cookie until you choose Accept** in the banner it shows. To know whether to ask, it looks up the country of your IP address. Your answer is kept in `localStorage` for 180 days. If you decline, nothing is tracked. Wherever you are, the sites work the same when the script is blocked.
- The other things the sites store in your browser are your light or dark theme choice (in a `crawlapi_theme` cookie shared across crawlapi.dev, docs.crawlapi.dev and app.crawlapi.dev, and in `localStorage`) and, on docs.crawlapi.dev, the programming language you picked for code examples (in `localStorage`).
- The dashboard at app.crawlapi.dev loads no analytics. It sets one session cookie so you stay signed in. Its sign-in and sign-up pages load Cloudflare Turnstile, a check that tells people from bots, which Cloudflare runs under [its Turnstile privacy addendum](https://www.cloudflare.com/turnstile-privacy-policy/).
- When you buy credits, the dashboard adds the id in your `piqo_visitor` cookie, if you have one, to the Stripe checkout. Piqo reads our Stripe payments through a read-only key to tie each purchase to the visits before it. That key shows it what Stripe keeps with a payment: the amount, the time, and the buyer's email and billing details, never the full card number.
- The session cookie, the theme and language choices and Turnstile are strictly necessary for the site or the account to work, so they need no consent. Piqo's cookie is not, which is why visitors in the European Economic Area and the United Kingdom are asked first.

## Why we use it

- **To provide the service you bought** (contract): your account, your keys, your requests, your balance and your purchases.
- **To keep the service safe and working** (legitimate interests): sessions, sign-in protection, the security record, logs and the 7-day page copies. Our interest is to stop fraud and abuse, keep accounts secure and return correct answers; we keep each item no longer than the periods on this page.
- **To meet legal duties** (legal obligation): payment and tax records, and answering lawful requests from authorities.
- **To understand how people find and use our websites** (your consent in the European Economic Area and the United Kingdom, legitimate interests elsewhere): Piqo's visit counts, and which visits led to sign-ups and purchases. Our interest is to know which pages help people and which do not. We do not use it for advertising or to follow you on other sites.
- **To write to you** about your account, your purchases, security and changes to these documents (contract and legitimate interests). We send marketing email only if you ask for it.

## Who else sees it

We share personal data only with providers who help us run the service, under contracts that limit what they may do with it (Telegram, which carries our own alerts, and Piqo, which runs our analytics, under their own terms), and only what each one needs. Each is listed, with what it receives and where, in the [list of subprocessors](/dpa#current-subprocessors). In short:

- **netcup** hosts our servers in the United States (Manassas, Virginia); everything above is stored there.
- **Cloudflare** runs our DNS, carries traffic to our websites and the API, runs the Turnstile check and routes email sent to our addresses.
- **Stripe** processes payments; it sees your email, the pack and your card, never your requests.
- **Google** handles sign-in if you choose "Continue with Google", and hosts the mailbox that receives the email you send us.
- **Telegram** carries our own service alerts to us, under Telegram's own terms. An alert about a purchase, a dispute or an account's activity names the account only by its internal id, with the pack, amount, credits, balance or result code it is about; an alert about our servers carries the last lines of the failed job's log. No alert holds an email address.
- **Piqo** (MVP Stack LLC) runs the analytics on crawlapi.dev and docs.crawlapi.dev, as described under "Our websites and cookies", and reads our Stripe payments to tie a purchase to the visits before it. It stores this data in Germany.
- Some pages are loaded through a **network provider** (Geonode or DataImpulse) or a **browser provider** (Browser Use). They see the URL being fetched and the bytes needed to fetch it — not your account, your key or your other requests.

We do not sell personal data and do not share it for advertising. We disclose information to an authority only when the law requires it, and we tell you first unless the law forbids it. If crawlapi is transferred to a company or a buyer, your data moves with it under this policy, and we tell you.

## Where your data is stored

Our servers are in the United States, in netcup's data centre in Manassas, Virginia. crawlapi is operated from India, so we access the data from India, and some of our other providers are in the United States too. Piqo keeps the analytics of our websites in Germany. When personal data from the European Economic Area, the United Kingdom or Switzerland goes to a country without an adequacy decision, we rely on the European Commission's standard contractual clauses or, for United States providers certified under it, the EU–US Data Privacy Framework.

## How long we keep it

Deletion runs on a schedule: nightly for sign-in data, unconfirmed accounts and the security record's addresses, hourly for logs and page copies. A record can outlast its period below by up to a day.

- Account, keys and settings: while your account exists.
- Sessions: 7 days after the last renewal, or until you sign out.
- Sign-in protection counters: a day after their window ends.
- IP address and user agent in the security record: 90 days. The rest of the security record: the life of the account plus 24 months.
- Accounts that never confirmed their email: 24 hours.
- Request logs: 90 days. Daily totals without URLs: 400 days.
- Copies of fetched pages: 7 days.
- Website visits in Piqo: 3 years. The `piqo_visitor` cookie: 1 year. Your answer to the analytics banner: 180 days.
- Backups: up to 5 weeks.
- Usage rows, purchases and the credit ledger: as long as tax and accounting law requires, also after an account is deleted.

## Your rights

You can ask us to:

- give you a copy of the personal data we hold about you, in a common machine-readable format;
- correct it;
- delete it, or delete your account;
- stop or limit using it, or object to our use of it based on legitimate interests;
- tell you which providers received it.

Write to support@crawlapi.dev from the address on your account. We confirm we received it within 48 hours and answer within one month. We may ask you to prove the account is yours. Deleting an account switches its keys off, removes its sign-in methods and sessions, and replaces its email with a placeholder; usage rows, purchases and the ledger stay as tax and accounting law requires, and credits on a deleted account are not refunded.

If you are in the European Economic Area, the United Kingdom or Switzerland, you may also complain to your data protection authority. In India you may write to our grievance officer (see the [contact section of the terms](/terms#contact)) and, once it applies, to the Data Protection Board of India. We would rather hear from you first.

## Security

How we protect accounts, keys, money and the server is on the [security page](/security). If we learn of a breach that affects your personal data, we tell you and the authorities the law requires, without undue delay.

## Children

The service is for businesses and professionals and is not meant for anyone under 18. We do not knowingly hold data about children. If you think we do, write to support@crawlapi.dev and we will delete it.

## Changes

We date every change to this page and note it on the [changelog](https://docs.crawlapi.dev/changelog). If a change reduces your rights in a material way, we tell you by email or in the dashboard before it applies.
