Launch an analysis. Read the report.
The ContentEffort API lets you start an analysis and read the finished report from your own tools. It is included in both plans and uses the same monthly allowance as the website.
On this page
Quick startAuthenticationLimitsCreate an analysisList reportsRead a reportDelete a reportDownloadsShare a reportAccount and keysErrorsAI assistantsOpenAPIQuick start
From zero to a report in three steps.Create your API key
One key per account. It is created in Settings → API keys and the full value is shown only once.
ce_9f2b7c41d5e8a30b4c6d…Create a key Launch the analysis
One public URL per request. The call answers immediately and the work continues in the background.
curl -X POST https://contenteffort.com/api/analyses \
-H "Authorization: Bearer $CE_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/article"}'Read the report
Ask for the analysis until the state is completado. It takes one to three minutes on average.
curl https://contenteffort.com/api/reports/ana_8f3c1d2e4b5a6978 \
-H "Authorization: Bearer $CE_KEY"Authentication
Every request is authenticated with an API key. You create it in Settings → API keys. The full key is shown once. Store it in your secret manager, not in code.
The key goes in the standard header:
Authorization: Bearer ce_0123456789abcdef…The key belongs to your account and has the same permissions to create analyses and read reports. It cannot manage keys or revoke share links. When you read a finished report with a key, ContentEffort creates a private share link automatically.
Limits
| Limit | Value |
|---|---|
| Analyses per month | 40 on Base, 200 on Pro |
| Analyses in progress at once | 2 per account |
Requests to POST /api/analyses | 10 per minute per account |
| Request body size | 16 KB |
| Source URL | Public http or https, up to 2048 characters |
| Page size | Up to 5 MB of HTML |
| Redirects | Up to 5 |
| Capture timeout | 30 seconds |
Private addresses, localhost and cloud metadata endpoints are rejected. Each analysis reserves one unit of the monthly allowance when it starts. If it fails before any model call, the unit is returned.
Create an analysis
The body contains a single public URL and an optional language (en or es) for the report. Without it, the account language is used. The call returns immediately: the analysis runs in the background and usually takes one to three minutes.
curl -X POST https://contenteffort.com/api/analyses \
-H "Authorization: Bearer $CE_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/article"}'{
"id": "ana_8f3c1d2e4b5a6978",
"status": "running"
}Then poll GET /api/reports/{id} until it returns 200, or list your reports and look at the status field. An analysis can be running, completed or failed.
List reports
Returns the analyses of your account, newest first. Use the cursor to walk older pages.
| Query | Meaning |
|---|---|
limit | Page size from 1 to 200. Default 20. |
cursor | next_cursor of the previous page, exactly as the server returned it. |
q | Text to look for in the title or the address. |
status | pending, running, completed or failed. |
curl "https://contenteffort.com/api/reports?limit=20" \
-H "Authorization: Bearer $CE_KEY"{
"informes": [
{
"id": "ana_8f3c1d2e4b5a6978",
"requested_url": "https://example.com/article",
"final_url": "https://example.com/article",
"title": "How to choose a cream",
"status": "completed",
"started_at": "2026-10-19T08:12:00.000Z",
"finished_at": "2026-10-19T08:14:31.000Z",
"token": null
}
],
"has_more": false
}Read a report
Returns the structured report once the analysis is finished. While it is still running, or if the report belongs to another account, the response is 404.
curl https://contenteffort.com/api/reports/ana_8f3c1d2e4b5a6978 \
-H "Authorization: Bearer $CE_KEY"{
"id": "ana_8f3c1d2e4b5a6978",
"language": "en",
"requested_url": "https://example.com/article",
"final_url": "https://example.com/article",
"canonical": "https://example.com/article",
"title": "How to choose a cream",
"h1": "How to choose a cream in 2026",
"sha256": "9f2c…",
"started_at": "2026-10-19T08:12:00.000Z",
"finished_at": "2026-10-19T08:14:31.000Z",
"partial_capture": false,
"missing_interactives": null,
"report": {
"markdown": "# Content report\n\n..."
},
"links": {
"web": "https://contenteffort.com/i/AbCdEf...",
"markdown": "https://contenteffort.com/api/reports/ana_8f3c1d2e4b5a6978.md",
"pdf": "https://contenteffort.com/api/reports/ana_8f3c1d2e4b5a6978.pdf"
}
}informe.sintesis is the full report in Markdown. If you read the report with an API key and it had no share link, one is created at that moment: enlaces.web is an absolute URL, ready to send by email. You can revoke it from the web interface.
Delete a report
Removes the report, its files and its share link. An analysis that is still running answers 409. The allowance already used is not refunded.
curl -X DELETE https://contenteffort.com/api/reports/ana_8f3c1d2e4b5a6978 \
-H "Authorization: Bearer ***"{
"ok": true,
"deleted_objects": 6
}Downloads
| Endpoint | Returns |
|---|---|
GET /api/reports/{id}.md | Markdown file, sent as an attachment. |
GET /api/reports/{id}.pdf | PDF file. |
GET /api/reports/{id}.html | Private HTML view. Without a session it redirects to the sign-in page. |
All three require the same authentication as the JSON report. The HTML view is marked noindex.
Share a report
POST creates a long private link, or returns the active one. DELETE revokes it. Both require a signed-in browser session, not an API key. Reading a report with a key already creates the link automatically, so you do not need this route just to get one.
{
"share_token": "AbCdEf...",
"url": "/i/AbCdEf...",
"expires_at": "2027-01-24T18:05:36.055Z"
}The link opens the report without a session and is readable by anyone who has it. It lives for 90 days: once expired it returns 410 and you can create a new one from the same route. Revoke it when it is no longer needed.
Account and keys
| Endpoint | Returns |
|---|---|
GET /api/account | Plan, subscription, allowance and language of the account. Session only. |
GET /api/account/export | JSON dump of the account, subscription, allowance, keys and reports. Session only. |
DELETE /api/account | Deletes the account and its data and cancels the subscription. Requires {"confirmar":"ELIMINAR"}. Session only. |
GET /api/plans | Public plan catalogue and prices. No authentication. |
GET /api/keys | Keys of the account, with prefix and status. Session only. |
POST /api/keys | Creates a key and returns the full value once. Session only. |
POST /api/keys/rotate | Revokes every active key and creates a new one. Session only. |
DELETE /api/keys/{id} | Revokes one key. Session only. |
GET /api/health | Service status. No authentication. |
Errors
Errors are JSON with a stable error code in snake_case, and a reason when the code is destination_not_allowed.
| Status | Code | Meaning |
|---|---|---|
| 400 | missing_url | The body has no url field. |
| 400 | destination_not_allowed | The URL is not public. The reason field says why. |
| 400 | invalid_json | The body is not valid JSON. |
| 400 | invalid_language | The language is not en or es. |
| 400 | invalid_status | The status filter is not pending, running, completed or failed. |
| 401 | not_authenticated | Missing, revoked or invalid key. On the MCP, the response includes the address where access is authorised. |
| 402 | no_plan | The account has no active plan. |
| 402 | quota_exhausted | No analyses left this month. |
| 402 | billing_period_ended | The billing period has ended and has not renewed. |
| 403 | session_required | The action requires a browser session, not an API key. |
| 404 | not_found | The report does not exist, is not finished or belongs to another account. |
| 409 | analysis_in_progress | An analysis is still running, so the account cannot be deleted. |
| 413 | payload_too_large | The request body is too large. |
| 429 | rate_limited | More than 10 analysis requests per minute. |
| 429 | too_many_running | Two analyses are already running. The response includes limit. |
OpenAPI
The machine-readable contract is available at /openapi.json. You can import it into Postman, Insomnia or any client generator. It describes the REST endpoints of this page and does not include private billing routes.
AI assistants (MCP)
This section is for connecting an AI assistant to your account. If you only want to call the API from your code, you don't need anything here: it's all in the previous sections.
The MCP server exposes your same account, the same allowance and the same reports to any tool that speaks the Model Context Protocol. The endpoint is on the same domain:
https://contenteffort.com/mcpThe server speaks Streamable HTTP in stateless mode: no session, no handshake to keep open. It selects JSON responses, so every call is a single request and a single response.
Connect with OAuth
This is the normal route. In your assistant's settings you add the address above and it takes care of the rest: it registers itself, sends you to a ContentEffort screen and asks for permission. There you see what the tool will be able to do and you can deny it. If you accept, it receives a token linked to your account.
That token only works for the MCP. It does not open the rest of the API, which still asks for a key or a browser session. It expires, and the assistant renews it on its own for as long as the permission stays granted. You can revoke it whenever you want.
The only accepted flow is one where a person authorises it with their account. The server does not issue tokens without consent: there is no machine-to-machine access you can grant from outside.
Permissions it asks for: your account identity (openid, profile, email) and token renewal (offline_access). Nothing else.
Connect with an API key
It also accepts a key in the standard header, exactly as with the REST API. This is for tools that don't support OAuth yet and for testing by hand:
Authorization: Bearer ce_0123456789abcdef…Setup per tool
Claude, Cursor and tools with a configuration file. The server is added in this shape. Any client that reads mcpServers accepts it:
{
"mcpServers": {
"contenteffort": {
"type": "http",
"url": "https://contenteffort.com/mcp"
}
}
}ChatGPT. It doesn't use a configuration file for this. It is added from its interface: Settings → Connectors → Add custom connector, paste https://contenteffort.com/mcp as the server address and complete the authorisation when asked. It is stored in your account, available in new conversations.
With a key instead of OAuth. If the tool only accepts static headers, the key is added to the same block:
{
"mcpServers": {
"contenteffort": {
"type": "http",
"url": "https://contenteffort.com/mcp",
"headers": {
"Authorization": "Bearer ce_0123456789abcdef…"
}
}
}
}Tools
| Tool | Spends | Limit | What it does |
|---|---|---|---|
list_reports | No | 120/min | Lists the reports of the account, newest first. Accepts limit, status, q and cursor. |
get_report | No | 120/min | Reads one report as Markdown or JSON. If the analysis is still running it returns its status instead of an error. |
get_allowance | No | 120/min | Plan, allowance of the current period and whether the account can start an analysis. |
start_analysis | Yes | 10/min | Starts an analysis. It costs about USD 0.0412 of model usage and 1 unit of the monthly allowance (40 on Base, 200 on Pro). |
start_analysis requires confirm_spend: true. Without it nothing is started, no allowance is reserved and no report is created: the tool answers with the price and the flag it needs.MCP limits
| Limit | Value |
|---|---|
| Reads per minute | 120 per account (list_reports, get_report, get_allowance) |
| Analyses per minute | 10 per account, the same as the API |
| Request body size | 16 KB per request, the same as the API |
The MCP shares the REST API counters: an analysis started from a tool and one started with curl consume the same allowance and the same rate limit. Reports started from a tool appear in your report list like any other. There is nothing to enable on your side: just authorise the access with your account or use a working API key.