Abuse reports
POST /v1/abuse answers an abuse or takedown complaint about a movie or TV show you display. After a review, amodb writes a new overview in all 14 languages, removes the old images and clears its cache. One call can wait up to 300 seconds. Lite gets 3 reports per 7 days, Pro 6 and Pro+ 12.
When to send an abuse report
If you show amodb data in an app or on a website, you can sometimes receive an abuse or takedown complaint about it: a rights holder who objects to a poster, or a complaint about a plot summary. For these cases, POST /v1/abuse has amodb replace the text and the images of that one title.
- The overview and tagline are written again from public facts about the title, in all 14 languages.
- The posters, backdrops, season posters and episode stills from before are removed from every amodb answer, and img.amodb.dev stops serving those files.
- Every cached answer that shows the title is cleared, so your next request gets the new data.
The change applies to every amodb customer, so one report also protects everyone else who shows the title. That is why amodb reviews each new report before the title is changed. Fetch the title again after the report and replace your own copy, for example the cached page or the image you stored.
A report does not decide who is right about a complaint. It removes the material the complaint is about from amodb answers.
Send a report
POST https:/ takes your usual key in the Authorization: Bearer header and a JSON body that names one title. Send it from your server: the endpoint does not accept a key in the URL and does not answer browser requests from other sites.
curl -X POST "https://api.amodb.dev/v1/abuse" \
--max-time 330 \
-H "Authorization: Bearer $AMODB_KEY" \
-H "Content-Type: application/json" \
-d '{"media_type":"tv","tmdb_id":1399,"part":"images","reason":"A photographer says the backdrop is their work."}'Body fields
media_typestringrequiredmovieortv.personis accepted but not available yet (422).tmdb_idintegerrequiredThe TMDB id of the title, for example550.partstringWhat the complaint is about:overview,imagesorall. Defaultall.reasonstringrequiredWhat the complaint says, 3 to 2000 characters. We keep it with the report.
The body may be at most 8 KB. type works for media_type and id for tmdb_id.
Every report replaces both the text and the images of the title. part says which one you need: the report is done as soon as that part is replaced.
Query parameters
| Parameter | Default | Description |
|---|---|---|
wait | 300 | Seconds to wait for the result, 0 to 300. While the report is pending, the call answers at once. |
api_key | none | Not accepted here. Send the key in the Authorization: Bearer header. |
What happens after a report
- amodb checks the key, your weekly reports and the title. If the title was already replaced in the last 30 days, your report follows that work, is done or running at once and costs nothing.
- Otherwise the report is
pendinguntil amodb has reviewed it. The call answers at once with HTTP 202. - After the review the work starts. The new English overview comes first, then the 13 other languages. A report about
overviewis done at this point. - Each image is replaced, then a last step removes every image from before. A report about
imagesis done after this step. A report aboutallwaits for both. - amodb clears the title from its edge cache each time a part is done, and img.amodb.dev stops serving the old image files within a few minutes after the last step.
The new text comes first. The images take longer, because amodb replaces them one at a time. If a wait ends first, the answer says running with the progress so far, and the work goes on. Ask again with the report id.
Waiting up to 300 seconds
While you wait on a report, the answer is HTTP 200 and starts at once. amodb writes a space every 10 seconds to keep the connection open, then the report JSON when the work is done or the wait ends. Spaces before JSON are valid, so the usual JSON readers work. Set your client timeout above 300 seconds, for example 330.
At most 2 calls of your account can wait at the same time; a third call answers at once. Some platforms close requests after 10 or 60 seconds, for example serverless functions. There, send wait=0 and ask for the report again with a shorter wait:
const headers = { Authorization: `Bearer ${process.env.AMODB_KEY}`, 'Content-Type': 'application/json' };
let res = await fetch('https://api.amodb.dev/v1/abuse?wait=0', {
method: 'POST',
headers,
body: JSON.stringify({ media_type: 'movie', tmdb_id: 550, part: 'overview', reason: 'Complaint about the plot summary.' }),
});
let report = await res.json();
while (report.status === 'pending' || report.status === 'running') {
res = await fetch(`https://api.amodb.dev/v1/abuse/${report.id}?wait=50`, { headers });
report = await res.json();
}
console.log(report.status, report.overview, report.images);Example response
{
"id": "abr_k3v9x2m7q1w8e5r4t6y0u2i9",
"status": "done",
"media_type": "movie",
"tmdb_id": 550,
"part": "all",
"reason": "The rights holder sent a takedown notice for the poster and the plot summary.",
"created_at": "2026-10-19T09:12:04.512Z",
"finished_at": "2026-10-19T09:16:41.087Z",
"already_replaced": false,
"overview": { "status": "done", "done": 14, "failed": 0, "total": 14 },
"images": { "status": "done", "done": 9, "failed": 0, "total": 9 },
"cache": "purged",
"counted": true,
"error": null,
"quota": { "limit": 3, "used": 1, "remaining": 2, "reset_seconds": 604523 }
}Response fields
| Field | Type | Notes |
|---|---|---|
id | string | Report id, abr_ and 24 characters. Use it with GET /v1/abuse/{id}. |
status | string | pending, running, done or failed, for the part you named. |
already_replaced | boolean | The title was replaced by an earlier report. Such a report costs nothing. |
overview | object | status plus the text steps: done, failed and total, one step per language. |
images | object | status plus the image steps, the last step included. |
cache | string | purged once the title was cleared from the edge cache, else pending. |
counted | boolean | Whether the report uses one of your weekly reports. |
error | object or null | code and message when status is failed, for example rejected after the review. |
quota | object | Your weekly reports: limit, used, remaining, and reset_seconds until a used one frees. |
Reports per plan
Each account gets a number of reports in any 7 days. The window rolls: a report counts for 7 days from the moment you sent it. All keys of an account share the same reports, and a pending report counts too.
| Plan | Requests per minute | Reports per 7 days |
|---|---|---|
| Lite | 20 | 3 |
| Pro | 40 | 6 |
| Pro+ | 120 | 12 |
Every answer carries your weekly reports in headers:
| Header | Meaning |
|---|---|
X-Abuse-Limit | Reports per 7 days on your plan. |
X-Abuse-Remaining | Reports left now. |
X-Abuse-Reset | Seconds until a used report frees, 0 when none is used. |
A waiting answer sends these headers when it starts. The quota object in the body is the current one.
These reports are not counted: a title the catalog does not hold, a person, a report refused because too many run at the same moment, a title replaced in the last 30 days, a report not accepted in the review or not reviewed within 7 days, and a regeneration that failed. A second report for the same title and part while the first one is open returns the first report and costs nothing. The per minute rate limit applies to every call as usual.
Check a report later
| Request | Returns |
|---|---|
GET /v1/abuse/{id} | One report of your account, at once. |
GET / | The same, after waiting up to 60 seconds for it to change. Any wait from 0 to 300 works, also while it is pending. |
GET /v1/abuse | results with your reports of the last 7 days, and quota. |
A report id of another account answers 404, the same as an id that does not exist.
Errors
Errors use the TMDB error body, with success false and a status_code.
| HTTP | status_code | When |
|---|---|---|
| 400 | 22 | The body or wait is not valid, or the key was sent in the URL. The message names the problem. |
| 401 | 7 | The key is missing or wrong. |
| 402 | 36 | The plan period has ended. |
| 404 | 34 | The title is not in the catalog, or the report id is unknown. |
| 413 | 22 | The body is larger than 8 KB. |
| 422 | 22 | Reports about people are not available yet. |
| 429 | 25 | All weekly reports are used. Retry-After says when the next one frees. Over the per minute rate gives 429 too. |
| 503 | 46 | Reports are busy or paused right now. Nothing was counted. Wait for Retry-After and try again. |
See errors for the other codes.
Practical notes
- Send one report per title. Two reports for the same title and part while it is open return the same report.
- After a report, read the title again and update what you keep on your side: cached pages, stored text and downloaded images.
- Lists, search results, recommendations and collections that show the title are cleared from the edge cache together with the title.
- Keep the report id with your answer to the complaint.
GET /v1/abuse/{id}shows when the title was replaced. - Use reports for complaints, not to refresh data. Details already follow the catalog, see movies and TV series.