{
  "x402Version": 2,
  "id": 57385,
  "slug": "57385",
  "resource": "https://agentic-diagrams-production.up.railway.app/v1/diagrams",
  "description": "Generate a self-contained animated architecture diagram as HTML, SVG, MP4, WebM, GIF or PNG",
  "type": "http",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5461f103b54fcFE37a99337D3cb5AB5d30239c18",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    }
  ],
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "edges": [
              {
                "from": "agent",
                "label": "structured JSON",
                "to": "api"
              },
              {
                "from": "api",
                "label": "paid request",
                "to": "payments"
              },
              {
                "from": "payments",
                "to": "render"
              },
              {
                "from": "render",
                "to": "artifact"
              }
            ],
            "nodes": [
              {
                "id": "agent",
                "kind": "client",
                "label": "Coding agent",
                "status": "working"
              },
              {
                "id": "api",
                "kind": "service",
                "label": "Diagram API",
                "status": "ready"
              },
              {
                "id": "payments",
                "kind": "payment",
                "label": "x402 payment verification",
                "status": "ready"
              },
              {
                "id": "render",
                "kind": "worker",
                "label": "Deterministic SVG renderer",
                "status": "working"
              },
              {
                "id": "artifact",
                "kind": "artifact",
                "label": "Self-contained HTML + SVG",
                "status": "ready"
              }
            ],
            "title": "From a request to a finished artifact"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "animated": {
                    "default": true,
                    "type": "boolean"
                  },
                  "colorScheme": {
                    "anyOf": [
                      {
                        "enum": [
                          "dark",
                          "light"
                        ],
                        "type": "string"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "accent": {
                            "pattern": "^#[0-9a-fA-F]{6}$",
                            "type": "string"
                          },
                          "background": {
                            "pattern": "^#[0-9a-fA-F]{6}$",
                            "type": "string"
                          },
                          "edge": {
                            "pattern": "^#[0-9a-fA-F]{6}$",
                            "type": "string"
                          },
                          "grid": {
                            "pattern": "^#[0-9a-fA-F]{6}$",
                            "type": "string"
                          },
                          "muted": {
                            "pattern": "^#[0-9a-fA-F]{6}$",
                            "type": "string"
                          },
                          "statuses": {
                            "additionalProperties": false,
                            "properties": {
                              "blocked": {
                                "pattern": "^#[0-9a-fA-F]{6}$",
                                "type": "string"
                              },
                              "ready": {
                                "pattern": "^#[0-9a-fA-F]{6}$",
                                "type": "string"
                              },
                              "unknown": {
                                "pattern": "^#[0-9a-fA-F]{6}$",
                                "type": "string"
                              },
                              "waiting": {
                                "pattern": "^#[0-9a-fA-F]{6}$",
                                "type": "string"
                              },
                              "working": {
                                "pattern": "^#[0-9a-fA-F]{6}$",
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "surface": {
                            "pattern": "^#[0-9a-fA-F]{6}$",
                            "type": "string"
                          },
                          "text": {
                            "pattern": "^#[0-9a-fA-F]{6}$",
                            "type": "string"
                          }
                        },
                        "type": "object"
                      }
                    ],
                    "default": "dark"
                  },
                  "edges": {
                    "default": [],
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "from": {
                          "type": "string"
                        },
                        "label": {
                          "default": "",
                          "maxLength": 60,
                          "type": "string"
                        },
                        "to": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "from",
                        "to"
                      ],
                      "type": "object"
                    },
                    "maxItems": 120,
                    "type": "array"
                  },
                  "export": {
                    "additionalProperties": false,
                    "default": {},
                    "properties": {
                      "durationSeconds": {
                        "default": 6,
                        "maximum": 12,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "fps": {
                        "anyOf": [
                          {
                            "const": 10,
                            "type": "number"
                          },
                          {
                            "const": 20,
                            "type": "number"
                          },
                          {
                            "const": 24,
                            "type": "number"
                          },
                          {
                            "const": 25,
                            "type": "number"
                          },
                          {
                            "const": 30,
                            "type": "number"
                          }
                        ],
                        "default": 20
                      },
                      "height": {
                        "default": 720,
                        "maximum": 1080,
                        "minimum": 240,
                        "multipleOf": 2,
                        "type": "integer"
                      },
                      "width": {
                        "default": 1280,
                        "maximum": 1920,
                        "minimum": 320,
                        "multipleOf": 2,
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "format": {
                    "default": "html",
                    "enum": [
                      "html",
                      "svg",
                      "mp4",
                      "webm",
                      "gif",
                      "png"
                    ],
                    "type": "string"
                  },
                  "nodes": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "detail": {
                          "default": "",
                          "maxLength": 200,
                          "type": "string"
                        },
                        "id": {
                          "pattern": "^[a-zA-Z0-9_-]{1,48}$",
                          "type": "string"
                        },
                        "kind": {
                          "default": "component",
                          "maxLength": 40,
                          "type": "string"
                        },
                        "label": {
                          "maxLength": 120,
                          "minLength": 1,
                          "type": "string"
                        },
                        "status": {
                          "default": "ready",
                          "enum": [
                            "working",
                            "ready",
                            "waiting",
                            "blocked",
                            "unknown"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "label"
                      ],
                      "type": "object"
                    },
                    "maxItems": 60,
                    "minItems": 1,
                    "type": "array"
                  },
                  "style": {
                    "default": "circuit",
                    "enum": [
                      "orbital",
                      "circuit",
                      "ledger"
                    ],
                    "type": "string"
                  },
                  "title": {
                    "maxLength": 120,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "title",
                  "nodes"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "agentic-diagrams-production.up.railway.app",
  "lastUpdated": "2026-10-09T16:23:27.47Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T16:23:27.295Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "edges": [
                {
                  "from": "agent",
                  "label": "structured JSON",
                  "to": "api"
                },
                {
                  "from": "api",
                  "label": "paid request",
                  "to": "payments"
                },
                {
                  "from": "payments",
                  "to": "render"
                },
                {
                  "from": "render",
                  "to": "artifact"
                }
              ],
              "nodes": [
                {
                  "id": "agent",
                  "kind": "client",
                  "label": "Coding agent",
                  "status": "working"
                },
                {
                  "id": "api",
                  "kind": "service",
                  "label": "Diagram API",
                  "status": "ready"
                },
                {
                  "id": "payments",
                  "kind": "payment",
                  "label": "x402 payment verification",
                  "status": "ready"
                },
                {
                  "id": "render",
                  "kind": "worker",
                  "label": "Deterministic SVG renderer",
                  "status": "working"
                },
                {
                  "id": "artifact",
                  "kind": "artifact",
                  "label": "Self-contained HTML + SVG",
                  "status": "ready"
                }
              ],
              "title": "From a request to a finished artifact"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "animated": {
                      "default": true,
                      "type": "boolean"
                    },
                    "colorScheme": {
                      "anyOf": [
                        {
                          "enum": [
                            "dark",
                            "light"
                          ],
                          "type": "string"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "accent": {
                              "pattern": "^#[0-9a-fA-F]{6}$",
                              "type": "string"
                            },
                            "background": {
                              "pattern": "^#[0-9a-fA-F]{6}$",
                              "type": "string"
                            },
                            "edge": {
                              "pattern": "^#[0-9a-fA-F]{6}$",
                              "type": "string"
                            },
                            "grid": {
                              "pattern": "^#[0-9a-fA-F]{6}$",
                              "type": "string"
                            },
                            "muted": {
                              "pattern": "^#[0-9a-fA-F]{6}$",
                              "type": "string"
                            },
                            "statuses": {
                              "additionalProperties": false,
                              "properties": {
                                "blocked": {
                                  "pattern": "^#[0-9a-fA-F]{6}$",
                                  "type": "string"
                                },
                                "ready": {
                                  "pattern": "^#[0-9a-fA-F]{6}$",
                                  "type": "string"
                                },
                                "unknown": {
                                  "pattern": "^#[0-9a-fA-F]{6}$",
                                  "type": "string"
                                },
                                "waiting": {
                                  "pattern": "^#[0-9a-fA-F]{6}$",
                                  "type": "string"
                                },
                                "working": {
                                  "pattern": "^#[0-9a-fA-F]{6}$",
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "surface": {
                              "pattern": "^#[0-9a-fA-F]{6}$",
                              "type": "string"
                            },
                            "text": {
                              "pattern": "^#[0-9a-fA-F]{6}$",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      ],
                      "default": "dark"
                    },
                    "edges": {
                      "default": [],
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "from": {
                            "type": "string"
                          },
                          "label": {
                            "default": "",
                            "maxLength": 60,
                            "type": "string"
                          },
                          "to": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "from",
                          "to"
                        ],
                        "type": "object"
                      },
                      "maxItems": 120,
                      "type": "array"
                    },
                    "export": {
                      "additionalProperties": false,
                      "default": {},
                      "properties": {
                        "durationSeconds": {
                          "default": 6,
                          "maximum": 12,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "fps": {
                          "anyOf": [
                            {
                              "const": 10,
                              "type": "number"
                            },
                            {
                              "const": 20,
                              "type": "number"
                            },
                            {
                              "const": 24,
                              "type": "number"
                            },
                            {
                              "const": 25,
                              "type": "number"
                            },
                            {
                              "const": 30,
                              "type": "number"
                            }
                          ],
                          "default": 20
                        },
                        "height": {
                          "default": 720,
                          "maximum": 1080,
                          "minimum": 240,
                          "multipleOf": 2,
                          "type": "integer"
                        },
                        "width": {
                          "default": 1280,
                          "maximum": 1920,
                          "minimum": 320,
                          "multipleOf": 2,
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "format": {
                      "default": "html",
                      "enum": [
                        "html",
                        "svg",
                        "mp4",
                        "webm",
                        "gif",
                        "png"
                      ],
                      "type": "string"
                    },
                    "nodes": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "detail": {
                            "default": "",
                            "maxLength": 200,
                            "type": "string"
                          },
                          "id": {
                            "pattern": "^[a-zA-Z0-9_-]{1,48}$",
                            "type": "string"
                          },
                          "kind": {
                            "default": "component",
                            "maxLength": 40,
                            "type": "string"
                          },
                          "label": {
                            "maxLength": 120,
                            "minLength": 1,
                            "type": "string"
                          },
                          "status": {
                            "default": "ready",
                            "enum": [
                              "working",
                              "ready",
                              "waiting",
                              "blocked",
                              "unknown"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "label"
                        ],
                        "type": "object"
                      },
                      "maxItems": 60,
                      "minItems": 1,
                      "type": "array"
                    },
                    "style": {
                      "default": "circuit",
                      "enum": [
                        "orbital",
                        "circuit",
                        "ledger"
                      ],
                      "type": "string"
                    },
                    "title": {
                      "maxLength": 120,
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "nodes"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentic-diagrams-production.up.railway.app",
    "manifest_name": "agentic-diagrams-production.up.railway.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  }
}