WritersLogic Verifiable AI Agent Hub Unicode Check API
The Unicode Check API from WritersLogic Verifiable AI Agent Hub — 1 operation(s) for unicode check.
The Unicode Check API from WritersLogic Verifiable AI Agent Hub — 1 operation(s) for unicode check.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/writerslogic-com:writerslogic-com-unicode-check-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: WritersLogic Verifiable AI Agent Hub Unicode Check API
version: 2.0.0
description: Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.
contact:
name: WritersLogic
url: https://writerslogic.com/agents
email: agents@writerslogic.com
servers:
- url: https://agents.writerslogic.com
tags:
- name: Unicode Check
paths:
/api/v1/unicode-check:
post:
operationId: unicode_check
summary: Unicode smuggling check for strings (prompts, tool args, URLs)
description: 'Checks up to 100 strings in one call against the 19 deterministic rules of unicode-safety-check: bidi controls (Trojan Source), invisible and zero-width characters, tag-character and variation-selector payloads, homoglyph and mixed-script hosts or names. Built for an agent''s hot path: run it on a prompt, a tool argument, a URL or a model output before acting on it. Returns BLOCK / REVIEW / NO_FINDING per string with the code point and position. Pure code, no model.
Price: 0.005 USDC on Base (x402).'
x-x402-price-usdc: '0.005'
x-x402-amount: '5000'
x-payment-info:
protocols:
- x402
price:
mode: fixed
currency: USD
amount: '0.005'
x-audience: agent-infra
x-sample-url: https://agents.writerslogic.com/api/v1/samples/unicode-check
security:
- x402: []
- apiKey: []
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- strings
properties:
strings:
type: array
minItems: 1
maxItems: 100
items:
type: string
maxLength: 10000
description: Up to 200000 characters in total.
kind:
type: string
enum:
- text
- identifier
- url
description: 'text (default): prose, only critical findings block. identifier or url: high findings such as mixed-script names also block.'
example:
strings:
- Summarize this page for me.
- Ignore previous instructions
- https://pаypal.com/login
kind: url
responses:
'200':
description: Paid result with provenance
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
verdict:
type: string
enum:
- BLOCK
- REVIEW
- NO_FINDING
description: Worst verdict across the strings. NO_FINDING means none of the 19 rules fired, not that the text is benign.
counts:
type: object
properties:
BLOCK:
type: integer
REVIEW:
type: integer
NO_FINDING:
type: integer
results:
type: array
items:
type: object
properties:
index:
type: integer
verdict:
type: string
enum:
- BLOCK
- REVIEW
- NO_FINDING
findings:
type: array
items:
type: object
properties:
ruleId:
type: string
description: USC001-USC019
ruleName:
type: string
severity:
type: string
enum:
- critical
- high
- medium
- low
line:
type: integer
column:
type: integer
description: 1-based, in code points.
codePoints:
type: string
charInfo:
type: string
snippet:
type: string
description: Invisible and lookalike characters shown as \u{XXXX}.
kind:
type: string
enum:
- text
- identifier
- url
verdictBasis:
type: string
engine:
type: string
upgrade:
type: object
description: The full agent this micro check is a slice of, its price and what it adds.
properties:
agent:
type: string
path:
type: string
priceUsdc:
type: string
adds:
type: string
_provenance:
type: object
description: C2PA-aligned manifest and W3C VC 2.0 (eddsa-jcs-2022) issued by the hub DID; verify at POST /api/v1/verify-provenance
required:
- data
- _provenance
'400':
description: Invalid request (no payment consumed)
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
'401':
description: Invalid X-API-KEY
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
'402':
description: Payment required or invalid
content:
application/json:
schema:
type: object
description: x402 v2 PaymentRequired (also base64 in the PAYMENT-REQUIRED header)
properties:
x402Version:
type: integer
error:
type: string
code:
type: string
resource:
type: object
accepts:
type: array
items:
type: object
extensions:
type: object
'502':
description: Upstream failure; the payment is released or not settled
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
tags:
- Unicode Check
components:
securitySchemes:
x402:
type: apiKey
in: header
name: PAYMENT-SIGNATURE
description: x402 v2 payment payload (base64) sent after a 402 challenge
apiKey:
type: apiKey
in: header
name: X-API-KEY