Menu

Abuse reports

Reporting illegal content or abuse, with or without an account.

OperationMethod and path
Report illegal content or abusePOST /abuse/reports

Report illegal content or abuse#

POST /abuse/reports · operation submitAbuseReport

No account is needed. items: what is reported, 1 to 20 entries each {kind, value} with kind url (an http(s), ipfs:// or ipns:// address), cid (a content identifier) or hostname; category (illegal-content, intellectual-property, child-safety, malware-or-phishing, fraud-or-scam, spam, privacy, hate-or-violence, terms-violation or other); explanation (20..5000 characters: why it is illegal or against the terms, and where exactly it is); reporter_name and reporter_email (optional; give an address to be told the report arrived and what was decided; a report about a protected work or a right of yours needs both); good_faith true (the report is made in good faith and is accurate to the best of your knowledge); website left empty. Answers 202 with the report's reference (quote it when you write to the abuse contact), when it was received and whether an acknowledgement was sent to the address given. The account the report concerns never learns who reported it. A reporter who gave an address is told the outcome once it is decided, in general terms (never anything about the account concerned), and how to contest it. A few reports an hour per client address; one reporter address is sent a few acknowledgements an hour, and a report past that is still taken, with acknowledgement none. This call is not charged.

Credentialnone: anyone may call it (x-weird-auth: public)
Chargedno
Retry safetya repeat makes a second one (it costs nothing): a repeat files a second report with its own reference (nothing is charged); keep the first reference rather than sending again

Request body (AbuseReport):

  • items, array of objects, required (1 to 20 items)
    • kind, string, required (one of url, cid, hostname)
    • value, string, required (length 1 to 2048)
  • category, string, required (one of illegal-content, intellectual-property, child-safety, malware-or-phishing, fraud-or-scam, spam, privacy, hate-or-violence, terms-violation, other)
  • explanation, string, required (length 20 to 5000)
  • reporter_name, string (length 0 to 200)
  • reporter_email, string (length 0 to 254)
  • good_faith, boolean, required — must be true
  • website, string — leave empty

Answer 202 (AbuseReportReceipt): the result

  • reference, string, required
  • received_at, string, required
  • acknowledgement, string, required — whether the address given was told the report arrived (none: no address given, or the address was already sent its hourly maximum of acknowledgements: the report is taken all the same) (one of sent, pending, none)

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field items, category, explanation, reporter_name, reporter_email, good_faith or website)
429rate-limitedrate-limited

Example

curl -X POST 'https://api.weird.ro/abuse/reports' \
  -H "Content-Type: application/json" \
  -d '{"items":[{"kind":"url","value":"<value>"}],"category":"illegal-content","explanation":"<explanation>","good_faith":true}'

With the CLI (weird abuse report):

$ weird abuse report

MCP: weird_abuse_report.

This page is generated from the API's public document; it changes when the document does.