Marz Greta-Lock Network Bundle API

The Bundle API from Marz Greta-Lock Network — 2 operation(s) for bundle.

Operations 2

POST /api/bundle Buy Bundle #
GET /api/bundle/balance Bundle Balance #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/eqbuilder-dev:eqbuilder-dev-bundle-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

eqbuilder-dev-bundle-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EQ Scoring Platform — Human-Likeness & AI Text Benchmark…
  description: 'Human-likeness scoring and AI text benchmark API. Score AI-generated text against real human personality profiles (EQ, formality, directness, hesitation, response-timing cadence) to measure how human your AI writing sounds before you ship it. Built for autonomous agents and AI text humanizer pipelines: free stateless scoring at /api/score, paid validated benchmarks via machine-to-machine On-chain settlement with x402 support — the default path is gasless USDC on Base (unpaid calls to /api/simulate return HTTP 402 with machine-readable payment requirements; sign the Base requirement and retry once with PAYMENT-SIGNATURE). Legacy SOL and X-PAYMENT clients remain compatible. Interactive API docs are available at /api/docs. Permanent tool setup (wire it in once and explicitly authorize a dedicated USDC-on-Base burner wallet so the SDK can sign paid calls without a human): see the ''Permanent tool setup'' section of /llms.txt and the crawlable guide at /guides/permanent-agent-tool-setup.html. Live network stats (real ledger aggregates) at /api/stats; runnable Python/JS quickstart examples ship in the repo under examples/.'
  version: 1.0.0
tags:
- name: Bundle
paths:
  /api/bundle:
    post:
      summary: Buy Bundle
      description: 'Buy a prepaid bundle of basic-score credits at a discount.


        One x402 payment (SOL or USDC) buys the published number of credits,

        credited to the paying wallet. The response contains a SECRET

        `bundle_token` — store it; it is shown exactly once. Redeem credits by

        sending the `X-BUNDLE-TOKEN` header on POST /api/simulate (basic tier).

        Check remaining credits at GET /api/bundle/balance.


        ## Default x402 v2 payment flow


        1. **Quote** — POST `{"plan":"bundle"}` to /api/bundle with no payment

        header. The HTTP **402** is the expected live quote: it does not charge

        or record a purchase, and no `wallet_address` is needed. Most agents

        should use the EQBuilder SDK instead; its `score` method handles this

        x402 exchange automatically without buying a bundle. Human card buyers

        can use GET /api/card/packs and POST /api/card/checkout.

        Fleet buyers continue by selecting the first `accepts` entry: Base USDC

        (`network: eip155:8453`).

        2. **Sign** — sign that entry''s exact EIP-3009

        `TransferWithAuthorization` fields. The wallet needs Base USDC but

        no ETH; the facilitator submits the authorization.

        3. **Build** — create the canonical x402 v2 payload using the full

        response''s `resource`, the selected entry as `accepted`, the signed

        `payload`, and `extensions` when present:


        ```json

        {"x402Version":2,

        "resource":{"url":"https://eqbuilder.dev/api/bundle"},

        "accepted":{"scheme":"exact","network":"eip155:8453","amount":"","payTo":"","asset":""},

        "payload":{"signature":"0x...65-byte EIP-712 signature...","authorization":{"from":"0xYourAddress","to":"0xPayToAddress","value":"","validAfter":"0","validBefore":"","nonce":"0x...32 random bytes..."}},

        "extensions":{}}

        ```


        4. **Retry once** — base64-encode the compact JSON and send it in

        `PAYMENT-SIGNATURE`. Success is HTTP 200 with the bundle and a

        `PAYMENT-RESPONSE` settlement receipt.


        If the paid request times out, preserve the error and any receipt.

        Confirm payment status before creating or replaying an authorization.


        ### Legacy compatibility


        Existing Solana and `X-PAYMENT` clients remain accepted. A legacy

        Solana proof still has this shape:


        ```json

        {"x402Version":2,"scheme":"exact","network":"solana","payload":{"signature":"5KtP...your tx signature...","payer":"9xQe...your wallet..."}}

        ```'
      operationId: buy_bundle_api_bundle_post
      parameters:
      - name: X-PAYMENT
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: x402 payment proof (same format as /api/simulate).
          title: X-Payment
        description: x402 payment proof (same format as /api/simulate).
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/BundlePayload'
              - type: 'null'
              title: Body
      responses:
        '200':
          description: Bundle purchased; response contains the SECRET bundle_token.
          content:
            application/json:
              schema: {}
        '402':
          description: Payment required (x402 payment-requirements body) or payment could not be verified.
        '409':
          description: Transaction signature already used (double-spend guard).
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Bundle
  /api/bundle/balance:
    get:
      summary: Bundle Balance
      description: Check remaining prepaid credits for a bundle token.
      operationId: bundle_balance_api_bundle_balance_get
      parameters:
      - name: X-BUNDLE-TOKEN
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Secret bundle token from POST /api/bundle.
          title: X-Bundle-Token
        description: Secret bundle token from POST /api/bundle.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Bundle
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    BundlePayload:
      properties:
        tx_hash:
          type: string
          title: Tx Hash
          default: ''
        wallet_address:
          type: string
          title: Wallet Address
          default: ''
        referral_code:
          type: string
          title: Referral Code
          default: ''
        plan:
          type: string
          title: Plan
          default: bundle
      type: object
      title: BundlePayload
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
x-provenance:
  method: harvested
  publisher: Marz Greta-Lock Network
  source: https://eqbuilder.dev/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)