{
  "x402Version": 2,
  "id": 28402,
  "slug": "28402",
  "resource": "https://mimirapi.com/v1/chart",
  "description": "Data to chart in one call: a numeric series rendered as a deterministic 800x400 line or bar chart SVG with optional labels and title. No charting library, no browser — an agent composing a report gets a predictable picture of its numbers.",
  "type": "http",
  "serviceName": "MimirAPI",
  "resourceType": "Research",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x40e5A6647803c2DD686049dcDC5F9c34817D7a7F",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "points": {
            "type": "number"
          },
          "svg": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "svg",
          "type",
          "points"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "labels": [
              "Q1",
              "Q2",
              "Q3",
              "Q4"
            ],
            "title": "Settled calls",
            "type": "bar",
            "values": [
              3,
              7,
              4,
              9
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "contentType": "image/svg+xml",
            "points": 4,
            "svg": "<svg xmlns=\"…\">…</svg>",
            "type": "bar"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "labels": {
                    "items": {
                      "maxLength": 24,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "title": {
                    "maxLength": 80,
                    "type": "string"
                  },
                  "type": {
                    "enum": [
                      "line",
                      "bar"
                    ],
                    "type": "string"
                  },
                  "values": {
                    "items": {
                      "type": "number"
                    },
                    "maxItems": 100,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "values"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "points": {
                    "type": "number"
                  },
                  "svg": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  }
                },
                "required": [
                  "svg",
                  "type",
                  "points"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "chart",
    "graph",
    "visualization",
    "svg",
    "media",
    "bazaar"
  ],
  "sourceHost": "mimirapi.com",
  "lastUpdated": "2026-10-08T05:33:31.521Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T05:33:31.19Z"
  },
  "metadata": {
    "serviceName": "MimirAPI",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "labels": [
                "Q1",
                "Q2",
                "Q3",
                "Q4"
              ],
              "title": "Settled calls",
              "type": "bar",
              "values": [
                3,
                7,
                4,
                9
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "contentType": "image/svg+xml",
              "points": 4,
              "svg": "<svg xmlns=\"…\">…</svg>",
              "type": "bar"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "labels": {
                      "items": {
                        "maxLength": 24,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "title": {
                      "maxLength": 80,
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "line",
                        "bar"
                      ],
                      "type": "string"
                    },
                    "values": {
                      "items": {
                        "type": "number"
                      },
                      "maxItems": 100,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "values"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "points": {
                      "type": "number"
                    },
                    "svg": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "svg",
                    "type",
                    "points"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mimirapi.com",
    "manifest_name": "mimirapi.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "points": 0,
      "svg": "string",
      "type": "string"
    },
    "type": "string"
  }
}