Use when an agent needs an SVG made safe and small
Use when an agent needs an SVG made safe and small: strips scripts and editor junk, rounds paths, returns the cleaned SVG with a report.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
975 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://baconservices.com/api/agent-commerce/v1/capabilities/svg-cleanup/execute
| Category | Code and developer |
|---|---|
| Provider host | baconservices.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.01 | 1173 ms |
| 2026-11-25 | valid payment request | 402 | $0.01 | 490 ms |
| 2026-11-24 | valid payment request | 402 | $0.01 | 1080 ms |
| 2026-11-23 | valid payment request | 402 | $0.01 | 1515 ms |
| 2026-11-22 | valid payment request | 402 | $0.01 | 975 ms |
| 2026-11-21 | valid payment request | 402 | $0.01 | 393 ms |
| 2026-11-20 | valid payment request | 402 | $0.01 | 453 ms |
| 2026-11-19 | valid payment request | 402 | $0.01 | 1197 ms |
| 2026-11-18 | valid payment request | 402 | $0.01 | 1093 ms |
| 2026-11-17 | valid payment request | 402 | $0.01 | 1206 ms |
| 2026-11-16 | valid payment request | 402 | $0.01 | 576 ms |
| 2026-11-15 | valid payment request | 402 | $0.01 | 446 ms |
| 2026-11-14 | valid payment request | 402 | $0.01 | 1343 ms |
| 2026-11-13 | valid payment request | 402 | $0.01 | 1194 ms |
| 2026-11-12 | valid payment request | 402 | $0.01 | 439 ms |
| 2026-11-11 | valid payment request | 402 | $0.01 | 684 ms |
| 2026-11-10 | valid payment request | 402 | $0.01 | 545 ms |
| 2026-11-09 | valid payment request | 402 | $0.01 | 704 ms |
| 2026-11-08 | valid payment request | 402 | $0.01 | 674 ms |
| 2026-11-07 | valid payment request | 402 | $0.01 | 670 ms |
| 2026-11-06 | valid payment request | 402 | $0.01 | 777 ms |
| 2026-11-05 | valid payment request | 402 | $0.01 | 1174 ms |
Example input (from the provider)
{
"body": {
"keep_ids": false,
"precision": 3,
"simplify": "none",
"svg_url": "https://baconservices.com/assets/img/ai-vector/bacon-mascot.svg"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"description": "Give exactly one of svg or svg_url. The same request body must be sent again with the PAYMENT-SIGNATURE header.",
"properties": {
"keep_ids": {
"default": false,
"description": "Keep every id and class, for an SVG a page's own CSS or script uses.",
"type": "boolean"
},
"precision": {
"default": 3,
"description": "Decimals kept on coordinates. A drawing under 100 units across keeps one more per factor of ten.",
"maximum": 6,
"minimum": 1,
"type": "integer"
},
"simplify": {
"default": "none",
"description": "none: the drawing looks the same. light or strong: points on straight runs move within 0.05% or 0.2% of the drawing's diagonal.",
"enum": [
"none",
"light",
"strong"
],
"type": "string"
},
"svg": {
"description": "The SVG markup itself, UTF-8, at most 1 MB.",
"type": "string"
},
"svg_url": {
"description": "A public https URL of an SVG file, at most 1 MB, served as image/svg+xml, application/xml, text/xml, text/plain.",
"format": "uri",
"maxLength": 2048,
"pattern": "^https://",
"type": "string"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"headers": {
"type": "object"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"queryParams": {
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}