# WritersLogic Open Badges Verifier

> WritersLogic Open Badges Verifier is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

End-to-end verification of Open Badges 2.0 and 3.0 credentials, checking fields, signatures, issuer key ownership, hosted chains, and revocation status

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/open-badges-verifier?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-open-badges-verifier-5a198d62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BWOYbWo5ePLD2L3cMDjLq

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability writerslogic-open-badges-verifier-5a198d62 -d '<json body>'
```

Example prompt: Can you verify this Open Badges 3.0 credential for me and check whether it's valid, not revoked, and actually issued to jane@example.com? Here's the VC-JWT: eyJhbGciOiJFZERTQSIsInR5cCI6InZjK2p3dCJ9...

## When to prefer this

Use this endpoint whenever you need an authoritative, end-to-end Open Badges verification rather than a simple structural check. It uniquely handles both OB 2.0 and OB 3.0 formats (hosted, signed, VC-JWT, baked image), resolves issuer DID keys and JWKS, checks the full BadgeClass/Issuer hosting chain, and evaluates live revocation lists — giving granular pass/fail/unknown/unsupported per check rather than a binary result. Prefer it over generic JWT decoders or JSON schema validators when you need issuer trust, revocation, and recipient identity confirmation in one call.

## Known failure modes

- Issuer host unreachable — check marked unknown rather than fail
- Unsupported proof suite (e.g. RDF-canonicalization) — check marked unsupported, verdict may be inconclusive
- Malformed or truncated JWS/credential input returns a parse error
- Badge image not baked or missing openbadges chunk — returns unsupported/fail for image extraction
- Revocation list endpoint unreachable — revocation check marked unknown
- Recipient identity hash mismatch — check explicitly fails
- Input exceeds size limits (image > 6MB decoded, URL > 2000 chars) — returns validation error
- Missing required Open Badges fields — required-fields check fails

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

A structured verdict (valid/invalid) plus a per-check breakdown where each check (required fields, issuance/expiry window, signature, issuer key ownership, hosted assertion/BadgeClass/Issuer chain, revocation) is marked pass, fail, unknown, or unsupported. If a recipientIdentity was supplied, includes whether the identity matches the badge's salted hash. Unknown means the check could not be completed (e.g. issuer host unreachable); unsupported means the proof suite is not implemented (e.g. RDF-canonicalization). Overall verdict is valid only when no check fails.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "jws": {
   "type": "string",
   "maxLength": 1000000,
   "description": "A compact JWS: an Open Badges 3.0 VC-JWT or an Open Badges 2.0 signed assertion."
  },
  "url": {
   "type": "string",
   "maxLength": 2000,
   "description": "https URL of a hosted Open Badges 2.0 assertion or a hosted 3.0 credential."
  },
  "image": {
   "type": "string",
   "maxLength": 8500000,
   "description": "A baked badge image, base64 (data URLs accepted): a PNG with an openbadges iTXt chunk, or an SVG with an openbadges:assertion or openbadges:credential element. Up to 6 MB decoded."
  },
  "credential": {
   "description": "The credential or assertion as a JSON object (or the same as a JSON string, or a compact JWS string)."
  },
  "recipientIdentity": {
   "type": "string",
   "maxLength": 320,
   "minLength": 1,
   "description": "Optional: the recipient's email or other identity to compare against the badge's recipient, including salted sha256$ and md5$ hashes."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-open-badges-verifier-5a198d62/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
