# Let Codex read the page.

A task that needs to know what a page is should not have to grow a parser. Title, description, social image, canonical and favicon, a quarter of a cent a call.

Provider in the worked example: 2s.

Price shown for this route: 0.25¢ per URL.

## What it can do

### Extract URL metadata

Extract a public page’s metadata, including its title, canonical URL and social image. Only fields present in the fetched page can be returned.

Price: 0.25¢.

## Connect your agent

Read the [Codex setup guide](https://taskfuel.ai/docs/setup-cli/).

Use one TaskFuel account and prepaid balance. Inspect the provider and request quote before a paid call, then review the returned response and recorded charge.

## When to use it

### Skip the Open Graph parser.

Codex can build the feature around structured fields instead of writing and then maintaining the extraction itself.

### Find pages that unfurl badly.

Run the sitemap through it and see which routes are missing a description or a social image. A hundred URLs is about a quarter.

### Confirm a URL before storing it.

When users submit links, one call tells you what is actually there before it goes in the database.

## Questions

### What does a Codex task get back?

The page title, description, social image, canonical URL, favicon, author and other structured metadata, as one quoted call.

### What does it cost?

0.25¢ per URL. Auditing a hundred routes costs about a quarter.

### Why not fetch and parse it in code?

You can, and then the task owns the redirects, the malformed tags and the pages that need JavaScript. This returns the fields already extracted.

### Do I need a scraper account?

No. One TaskFuel account and one prepaid balance covers it.

### What if a URL fails?

Upstream 4xx and 5xx responses are not charged. A successful provider response can still be charged when its answer is empty or unhelpful.

## Reference

- [Read this guide on the website](https://taskfuel.ai/tools/url-metadata/codex/).
- [Browse providers and capabilities](https://taskfuel.ai/catalog/).
- [Pricing](https://taskfuel.ai/pricing/).
- [Agent instructions](https://taskfuel.ai/llms.txt).
