76trust / 100

Political Ad Flag

by text.halowerk.com in News & content

x402 APIPassing, checked 6 h ago

Flag indicators that a message may be political advertising under Regulation (EU) 2024/900 (TTPA) with article references and evidence, check the Art. 11 label elements and timing rules, without a final classification.

POST
https://text.halowerk.com/v1/political-ad-flag
Price
$0.003
per call in USDC
Uptime
92.3%
last 30 days
Response time
46 ms
179 ms slowest 5%
Last check
Passed
6 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://text.halowerk.com/v1/political-ad-flag

Each call costs $0.003 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://text.halowerk.com/v1/political-ad-flag
content-type: application/json

{
  "metadata": {
    "election_date": "2026-03-14",
    "paid": true,
    "publication_date": "2026-02-20"
  },
  "text": "Am 14. März Bürgermeisterwahl: Wählen Sie Anna Beispiel – für eine Stadt mit Zukunft! Ihre Stimme für die SPD."
}

Parameters

ParameterTypeRequiredDescription
metadataobjectNo
political_actorsarray of stringNoNames of candidates, parties or campaign organisations to look for.
textstringYes

Example response

The provider's example. We can't check it without paying.

Example response, 114 lines
{
  "limitations": [
    "Indicators only; whether a message is political advertising requires an assessme… [truncated, 130 chars]",
    "Party list covers parties at federal and European level in Germany; add regional… [truncated, 118 chars]"
  ],
  "result": {
    "assessment": {
      "final_classification": null,
      "indicator_level": "strong",
      "note": "No final classification: Art. 8(1) requires weighing content, sponsor, language,… [truncated, 157 chars]",
      "political_indicator_types": 3
    },
    "counter_indicators": [],
    "indicators": [
      {
        "evidence": [
          {
            "end": 109,
            "source": "party list (Bundeswahlleiterin)",
            "start": 106,
            "text": "SPD"
          }
        ],
        "id": "political_actor_reference",
        "label": "Reference to a political actor (party, candidate, office holder, government memb… [truncated, 83 chars]",
        "legal_basis": "Art. 3 Nr. 4 Buchst. a bis g i. V. m. Art. 3 Nr. 2 Buchst. a VO (EU) 2024/900",
        "url": "https://eur-lex.europa.eu/legal-content/DE/TXT/HTML/?uri=CELEX:32024R0900#art_3"
      },
      {
        "evidence": [
          {
            "end": 29,
            "start": 12,
            "text": "Bürgermeisterwahl"
          }
        ],
        "id": "election_or_referendum",
        "label": "Reference to an election or referendum",
        "legal_basis": "Art. 3 Nr. 2 Buchst. b VO (EU) 2024/900",
        "url": "https://eur-lex.europa.eu/legal-content/DE/TXT/HTML/?uri=CELEX:32024R0900#art_3"
      },
      {
        "evidence": [
          {
            "end": 41,
            "start": 31,
            "text": "Wählen Sie"
          },
          {
            "end": 101,
            "start": 86,
            "text": "Ihre Stimme für"
          }
        ],
        "id": "voting_call_to_action",
        "label": "Call to vote in a particular way (designed to influence voting behaviour)",
        "legal_basis": "Art. 3 Nr. 2 Buchst. b VO (EU) 2024/900",
        "url": "https://eur-lex.europa.eu/legal-content/DE/TXT/HTML/?uri=CELEX:32024R0900#art_3"
      }
    ],
    "label_elements": {
      "linked_election_or_process": {
        "article": "Art. 11 Abs. 1 Buchst. c VO (EU) 2024/900",
        "evidence": "Bürgermeisterwahl",
        "found": true
      },
      "sponsor_identity": {
        "article": "Art. 11 Abs. 1 Buchst. b VO (EU) 2024/900",
        "evidence": null,
        "found": false
      },
      "statement_political_advertisement": {
        "article": "Art. 11 Abs. 1 Buchst. a VO (EU) 2024/900",
        "evidence": null,
        "found": false
      },
      "targeting_statement": {
        "article": "Art. 11 Abs. 1 Buchst. d VO (EU) 2024/900",
        "evidence": null,
        "found": false
      },
      "transparency_notice": {
        "article": "Art. 11 Abs. 1 Buchst. e, Art. 12 VO (EU) 2024/900",
        "evidence": null,
        "found": false
      }
    },
    "missing_label_elements": [
      "statement_political_advertisement",
      "sponsor_identity",
      "targeting_statement"
    ],
    "regulation": {
      "applies_from": "2025-10-10",
      "celex": "32024R0900",
      "title": "Regulation (EU) 2024/900 on the transparency and targeting of political advertis… [truncated, 83 chars]",
      "url": "https://eur-lex.europa.eu/legal-content/DE/TXT/HTML/?uri=CELEX:32024R0900"
    },
    "timing": [
      {
        "note": "Published 22 days before the election: within three months, political advertisin… [truncated, 190 chars]",
        "rule": "Art. 5 Abs. 2",
        "url": "https://eur-lex.europa.eu/legal-content/DE/TXT/HTML/?uri=CELEX:32024R0900#art_5"
      },
      {
        "note": "Last month before the election: notifications must be processed within 48 hours … [truncated, 128 chars]",
        "rule": "Art. 15 Abs. 7, Art. 16 Abs. 4",
        "url": "https://eur-lex.europa.eu/legal-content/DE/TXT/HTML/?uri=CELEX:32024R0900#art_15"
      }
    ]
  },
  "service": "political-ad-flag",
  "status": "success"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://text.halowerk.com/v1/political-ad-flag' \
  -H 'content-type: application/json' \
  --data-raw '{"metadata":{"election_date":"2026-03-14","paid":true,"publication_date":"2026-02-20"},"text":"Am 14. M\u00e4rz B\u00fcrgermeisterwahl: W\u00e4hlen Sie Anna Beispiel \u2013 f\u00fcr eine Stadt mit Zukunft! Ihre Stimme f\u00fcr die SPD."}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://text.halowerk.com/v1/political-ad-flag' \
  -H 'content-type: application/json' \
  --data-raw '{"metadata":{"election_date":"2026-03-14","paid":true,"publication_date":"2026-02-20"},"text":"Am 14. M\u00e4rz B\u00fcrgermeisterwahl: W\u00e4hlen Sie Anna Beispiel \u2013 f\u00fcr eine Stadt mit Zukunft! Ihre Stimme f\u00fcr die SPD."}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftext.halowerk.com%2Fv1%2Fpolitical-ad-flag&method=POST
const res = await pay("https://text.halowerk.com/v1/political-ad-flag", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "metadata": {
      "election_date": "2026-03-14",
      "paid": true,
      "publication_date": "2026-02-20"
    },
    "text": "Am 14. M\u00e4rz B\u00fcrgermeisterwahl: W\u00e4hlen Sie Anna Beispiel \u2013 f\u00fcr eine Stadt mit Zukunft! Ihre Stimme f\u00fcr die SPD."
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://text.halowerk.com/v1/political-ad-flag",
        json={
            "metadata": {
                "election_date": "2026-03-14",
                "paid": True,
                "publication_date": "2026-02-20",
            },
            "text": "Am 14. M\u00e4rz B\u00fcrgermeisterwahl: W\u00e4hlen Sie Anna Beispiel \u2013 f\u00fcr eine Stadt mit Zukunft! Ihre Stimme f\u00fcr die SPD.",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
6 h agoPassed402123 ms$0.003
17 h agoPassed40241 ms$0.003
27 h agoPassed402127 ms$0.003
37 h agoPassed40242 ms$0.003
47 h agoPassed402114 ms$0.003
Show 10 older checks
3 days agoTimed out---
5 days agoTimed out---
6 days agoPassed402173 ms$0.003
6 days agoPassed40246 ms$0.003
7 days agoPassed402135 ms$0.003
7 days agoPassed402210 ms$0.003
7 days agoPassed40243 ms$0.003
8 days agoPassed40245 ms$0.003
8 days agoPassed402126 ms$0.003
8 days agoPassed40242 ms$0.003