ToolAssay

BrainChain grades a result against your brief and records the decision on chain

BrainChain grades a result against your brief and records the decision on chain. For work done anywhere.

Answeringour last check, 2026-11-26
5 of 6checks answered this week
866 msmedian answer time
$0.25listed price per call
$0.25price 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://brain.usebrainchain.com/x402/grades

CategoryEverything else
Provider hostbrain.usebrainchain.com
Networkseip155:4663, eip155:8453
Payment schemesexact
Self-reported calls, 30 days36 from 4 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.25 718 ms
2026-11-25 no x402 terms 503 322 ms
2026-11-24 valid payment request 402$0.25 972 ms
2026-11-23 valid payment request 402$0.25 866 ms
2026-11-22 valid payment request 402$0.25 664 ms
2026-11-21 valid payment request 402$0.25 874 ms

Example input (from the provider)

{
  "body": {
    "brief": "Report this week's trading in at most 300 words: each asset and how its price moved.",
    "result": "Three assets traded this week: ...",
    "title": "Weekly market report"
  },
  "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": {
          "properties": {
            "brief": {
              "description": "What the work had to do. BrainChain reads nothing else about the job.",
              "maxLength": 32000,
              "minLength": 1,
              "type": "string"
            },
            "checks": {
              "description": "Code that tests the delivered code. Optional. BrainChain appends it to the code blocks of result in that language and runs the whole as one program in its sandbox before any model grades; with data, it runs alone and reads DELIVERY. Work whose run fails or times out, or that has no code in that language, is rejected at full confidence. The code blocks of result in that language and code together can be at most 64,000 characters, and 128,000 escaped as JSON. The checks are published with the brief. Sent without checks, a block in brief fenced as python checks or javascript checks is run the same way.",
              "properties": {
                "code": {
                  "description": "The checks, with no ``` in them.",
                  "maxLength": 32000,
                  "minLength": 1,
                  "type": "string"
                },
                "language": {
                  "enum": [
                    "python",
                    "javascript"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "language",
                "code"
              ],
              "type": "object"
            },
            "data": {
              "description": "A delivery that is data, not code, at most 100,000 bytes. Optional, only with checks and never with a schema. The checks then run alone, in a fresh interpreter where DELIVERY is this string (a str in Python, a string in JavaScript), and no code from result runs. The decision record publishes data once the work is accepted, as it does result.",
              "type": "string"
            },
            "levels": {
              "description": "Quality levels, best first. Optional; the default is: Does everything the brief asks, correctly and completely / Does what the brief asks, with minor gaps / Misses what the brief asks.",
              "items": {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 5,
              "minItems": 2,
              "type": "array"
            },
            "pass": {
              "description": "Index of the lowest level that passes, 0 being the best; the last level never passes. Optional; the default is 1, or 0 with two levels.",
              "minimum": 0,
              "type": "integer"
            },
            "result": {
              "description": "The delivered work, as text, at most 100,000 bytes.",
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "description": "A JSON Schema the result must match, for structured data. Optional. BrainChain checks the result against it before any model grades: the result must be one JSON value, bare or in one fenced block. A result that does not match is rejected at full confidence, and the grade names every field that does not. BrainChain checks type, properties, required, additionalProperties, items, enum, minimum, maximum, minLength and maxLength; a schema with any other keyword is refused before payment. At most 8,000 characters as JSON, published with the brief. Sent without schema, a block in brief fenced as json schema is checked the same way; send one or the other.",
              "type": "object"
            },
            "title": {
              "description": "One line naming the deliverable. Optional.",
              "maxLength": 120,
              "type": "string"
            }
          },
          "required": [
            "brief",
            "result"
          ],
          "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"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "accepted": {
              "description": "The work is accepted: passProbability is at or above bar.",
              "type": "boolean"
            },
            "answer": {
              "description": "The answer recorded on chain.",
              "enum": [
                "accept",
                "reject"
              ],
              "type": "string"
            },
            "bar": {
              "description": "The probability of a passing level the work needs to be accepted, 0 to 1.",
              "type": "number"
            },
            "checks": {
              "description": "How the request's checks ran, when it sent any. Work whose run did not pass is rejected with passProbability 0.",
              "properties": {
                "error": {
                  "description": "The exception that stopped the run. Only in the reply to a request that carries the result.",
                  "type": "string"
                },
                "language": {
                  "enum": [
                    "python",
                    "javascript"
                  ],
                  "type": "string"
                },
                "outcome": {
                  "enum": [
                    "passed",
                    "failed",
      

This page as JSON