Bacon Services
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.
Offering
- Provider
- baconservices.com
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Other
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://baconservices.com/api/agent-commerce/v1/capabilities/svg-cleanup/execute- MIME type
- Not provided
- First seen
- 2026-11-05T17:34:06.073Z
- Last seen
- Tags
- None supplied
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"payTo": "0xdec990f28082da7efc9c50df26adba40b66cc4d6"
}
]Observed health
- Status
- Healthy
- Latest latency
- 85 ms
- Average latency
- 521 ms
- HTTP status
- 200
- Last checked
- Reachability
- 100% over 8 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"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 schema
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}