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 5checks answered this week
1243 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.testnet.usebrainchain.com/x402/grades

CategoryEverything else
Provider hostbrain.testnet.usebrainchain.com
Networkseip155:46630, eip155:84532
Payment schemesexact
Self-reported calls, 30 days15 from 3 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.25 1248 ms
2026-11-25 valid payment request 402$0.25 1263 ms
2026-11-24 valid payment request 402$0.25 1070 ms
2026-11-23 valid payment request 402$0.25 1243 ms
2026-11-22 valid payment request 402$0.25 1088 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. 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"
            },
            "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"
            },
            "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",
                    "timed out"
                  ],
                  "type": "string"
                },
                "output": {
                  "description": "Up to 4,000 characters of what the run printed. Only in the reply to a request that carries the result.",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "confidence": {
              "description": "How sure the recorded answer is, 0 to 1.",
              "type": "number"
            },
            "decision": {
              "properties": {
                "id": {
                  "type": "string"
                },
                "page": {
                  "type": "string"
                },
                "record": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "grade": {
              "type": "string"
            },
            "levels": {
              "description": "BrainChain's probability for each level, best first.",
              "items": {
                "properties": {
                  "level": {
                    "type": "string"
                  },
                  "passes": {
     

This page as JSON