# Get Cloudflare Page Title API

> Fetch the <title> of a URL, with the HTTP status and Server header. The URL is read through an SSRF guard: private addresses and redirects to them are refused.

Category: [Tools APIs](https://upapi.io/apis/tools) · Last updated 2026-10-25

## How to call it

- Endpoint: `POST https://api.upapi.io/cloudflare-page-title.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 1 weighted unit per call.
- Timeout: 25 seconds.
- Cache: identical requests are served from cache for 60 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/cloudflare-page-title.get

```bash
curl -X POST https://api.upapi.io/cloudflare-page-title.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "url": "https://github.com", "impersonate": "chrome131" }'
```

## Request parameters

- `url` (string, required) — URL to fetch
- `impersonate` (string) — Currently ignored: the guarded fetch is httpx-only, so no browser TLS profile is impersonated.

## Response fields

- `url` (string, required)
- `title` (string, required)
- `server` (string, required)
- `status` (integer, required)
- `fetched_with` (string, required)

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "url": "https://github.com",
  "impersonate": "chrome131"
}
```

```json
{
  "url": "https://github.com",
  "title": "Alan Turing",
  "server": "example",
  "status": 1,
  "fetched_with": "example"
}
```

## Frequently asked questions

### How much does the Get Cloudflare Page Title API cost per call?

Each call spends 1 weighted unit of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the Get Cloudflare Page Title API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are Get Cloudflare Page Title API responses cached?

Yes — identical requests are served from cache for 60 seconds, and a cache hit is not billed.

## More Tools APIs

- [Search Hacker News](https://upapi.io/apis/tools/hackernews-search)
- [OCR an Image](https://upapi.io/apis/tools/image-ocr)
- [Render HTML or URL to PDF](https://upapi.io/apis/tools/html-to-pdf)
- [Capture Website Screenshot](https://upapi.io/apis/tools/screenshot)
- [Extract Text from PDF](https://upapi.io/apis/tools/pdf-extract-text)
- [Fetch URL as Markdown](https://upapi.io/apis/tools/fetch-markdown)
