# Environments & Base URL

Paid accounts use the Production addresses and demo accounts the Demo addresses; the version is the first path segment, bodies are JSON and timestamps UTC.

Source: https://docs.deepinfo.com/getting-started/environments-and-base-url/

Last updated: 2026-10-05

---
## Paid and Demo Accounts

Deepinfo runs a Production and a Demo environment. **Paid customer accounts use the Production environment, on deepinfo.com
addresses. Demo accounts use the Demo environment, on deepinfodemo.com addresses**, for both the platform
and the API. Use the addresses that match your account: they are on the same domain as the platform you
sign in to.

| Environment | Account | Platform (web app, HTTPS) | API base URL (HTTPS) |
|---|---|---|---|
| Production | Paid (customer) account | platform.deepinfo.com | api.deepinfo.com/v1 |
| Demo | Demo account | platform.deepinfodemo.com | api.deepinfodemo.com/v1 |

## Show the Demo Addresses

By default, every example on this site uses the Production addresses. With a demo account, choose
**Demo** in the **Environment** switch at the top of the API Reference sidebar (or open the API reference
from the **Demo** card on the home page): every code example and platform link on the site then shows the
Demo addresses, and **Copy** copies them as shown. Choose **Production** to switch back. Your choice is
remembered in this browser.

The switch changes only what this site shows. The table above stays the reference, and the Markdown
versions of the pages and `llms.txt` always use the Production addresses. Without the switch (for example,
with JavaScript turned off), replace api.deepinfo.com with api.deepinfodemo.com and platform.deepinfo.com
with platform.deepinfodemo.com yourself.

## Base URL

All endpoints are served over HTTPS. The API version is the first path segment:

```text
https://api.deepinfo.com/v1/<module>/<endpoint>
```

In Postman, the host and the version come from variables: see [In Postman](#in-postman).

## Conventions

- Request and response bodies are JSON (`Content-Type: application/json`). Export endpoints can return
  CSV instead, depending on the format you request.
- Dates and times are ISO 8601 in UTC, for example `2026-09-22T12:25:50Z`.
- Some endpoints return download links (for example, feed files and exports). These are **pre-signed URLs
  that expire**. Download the file promptly, and call the endpoint again to get a fresh link.

For example, a [DNS](/reference/lookup/dns/) lookup of the A and MX records of a domain:

```bash
curl "https://api.deepinfo.com/v1/lookup/dns?domain=deepinfo.com&type=A,MX" \
  -H "apikey: YOUR_API_KEY" \
  -H "Accept: application/json"
```

## In Postman

In the Deepinfo Postman collection the host and the version come from the `api_base_url` and
`api_version` variables of the selected environment. With a demo account, set `api_base_url` to
`https://api.deepinfodemo.com` there. [Postman Collection](/getting-started/postman/) has the details.
