AI Inference · x402

Verify a bibliography

Verify a bibliography. For every reference: exists, resolves, retracted/corrected/flagged, title/author/year match against the registered record, and a rule-derived fabrication risk — as a signed (Ed25519, RFC 8785 canonical JSON), byte-reproducible JSON repo…

by aep-api.fly.dev · discovered, not yet claimed by its owner · updated 2026-09-04

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Verify a bibliography. For every reference: exists, resolves, retracted/corrected/flagged, title/author/year match against the registered record, and a rule-derived fabrication risk — as a signed (Ed25519, RFC 8785 canonical JSON), byte-reproducible JSON report. Input: structured references or BibTeX. No LLM; every claim carries its source and retrieval time. Tier: large, up to 75 references. NOTE: $3.00 exceeds @x402/core's default $1.00 maxAmountPerPayment; raise it (setSpendControls).

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/12634.json for the price and payment options.
  3. Pay. Call GET https://aep-api.fly.dev/v1/citation-report/large. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$3 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Calls (30d)
1 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$30xf184B4ed26E0866417487C56ACda10DDB5411e9d60s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xf184B4ed26E0866417487C56ACda10DDB5411e9d",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000000",
    "amountUsd": 3,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "options": {
            "include_unpaywall": false,
            "strict_authors": false
          },
          "references": [
            {
              "authors": [
                "Felisa Wolfe-Simon"
              ],
              "doi": "10.1126/science.1197258",
              "id": "wolfe2011",
              "title": "A Bacterium That Can Grow by Using Arsenic Instead of Phosphorus",
              "year": 2011
            },
            {
              "authors": [
                "Min-Jun Lee",
                "Soo-Young Kim"
              ],
              "id": "lee2022",
              "title": "Generative adversarial networks for hyper-realistic avatar creation",
              "venue": "CVPR",
              "year": 2022
            }
          ]
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "partial_failures": [],
          "references": [
            {
              "checks": {
                "doi_syntax": "true",
                "exists": "true",
                "integrity": {
                  "note": "Post-publication update record(s) found. Review before citing.",
                  "sources_checked": [
                    "openalex",
                    "crossref"
                  ],
                  "status": "known",
                  "updates": [
                    {
                      "date": "2025-07-24T00:00:00Z",
                      "doi": "10.1126/science.adu5488",
                      "source": "crossref",
                      "type": "retraction"
                    }
                  ]
                },
                "match": {
                  "all_authors_match": null,
                  "author_list_prefix": true,
                  "candidates_considered": 0,
                  "first_author_match": true,
                  "method": "doi",
                  "title_similarity": 1000,
                  "venue_similarity": null,
                  "year_delta": 0
                },
                "resolves": {
                  "definition": "registered at Crossref or indexed by OpenAlex",
                  "result": "true"
                }
              },
              "fabrication_risk": "low",
              "id": "wolfe2011",
              "input": {
                "authors": [
                  "Felisa Wolfe-Simon"
                ],
                "doi": "10.1126/science.1197258",
                "id": "wolfe2011",
                "title": "…",
                "year": 2011
              },
              "integrity_flagged": true,
              "provenance": {
                "integrity": {
                  "retrieved_at": "…",
                  "source": "crossref"
                },
                "title": {
                  "retrieved_at": "…",
                  "source": "openalex"
                }
              },
              "reasons": [],
              "resolved": {
                "authors": [
                  {
                    "name": "Felisa Wolfe-Simon",
                    "orcid": null
                  }
                ],
                "doi": "10.1126/science.1197258",
                "openalex": "W2135819747",
                "source_urls": [
                  "https://doi.org/10.1126/science.1197258",
                  "https://openalex.org/W2135819747"
                ],
                "title": "…",
                "type": "article",
                "venue": "Science",
                "year": 2011
              },
              "verdict": "verified"
            },
            {
              "checks": {
                "doi_syntax": "n_a",
                "exists": "n_a",
                "integrity": {
                  "note": "No registered record to check.",
                  "sources_checked": [],
                  "status": "n_a",
                  "updates": []
                },
                "match": {
                  "all_authors_match": null,
                  "author_list_prefix": null,
                  "candidates_considered": 3,
                  "first_author_match": null,
                  "method": null,
                  "title_similarity": null,
                  "venue_similarity": null,
                  "year_delta": null
                },
                "resolves": {
                  "definition": "registered at Crossref or indexed by OpenAlex",
                  "result": "n_a"
                }
              },
              "fabrication_risk": "high",
              "id": "lee2022",
              "input": {
                "authors": [
                  "Min-Jun Lee",
                  "Soo-Young Kim"
                ],
                "id": "lee2022",
                "title": "…",
                "venue": "CVPR",
                "year": 2022
              },
              "integrity_flagged": false,
              "provenance": {},
              "reasons": [
                "no_matching_record"
              ],
              "resolved": null,
              "verdict": "not_found"
            }
          ],
          "report": {
            "input_hash": "sha256:…",
            "issued_at": "2026-09-02T12:00:00.000Z",
            "issuer": {
              "kid": "…",
              "name": "Academic Evidence Pack — Citation Integrity Report"
            },
            "price_usd": "1.00",
            "reference_count": 2,
            "ruleset_version": "2026-09-02.5",
            "tier": "standard",
            "version": "1"
          },
          "signature": {
            "alg": "EdDSA",
            "canonicalization": "RFC 8785 JCS",
            "jws": "eyJ…..…",
            "kid": "…",
            "payload_hash": "sha256:…"
          },
          "stats": {
            "cache": "miss",
            "latency_ms": 1800,
            "upstream_calls": {
              "crossref": 2,
              "openalex": 2,
              "unpaywall": 0
            }
          },
          "summary": {
            "fabrication_risk": {
              "high": 1,
              "low": 1,
              "medium": 0,
              "n_a": 0
            },
            "integrity_flagged": 1,
            "not_found": 1,
            "unresolvable": 0,
            "verified": 1,
            "verified_with_discrepancies": 0
          },
          "warnings": [
            "fabrication_risk is a rule-derived label (see report.ruleset_version), not a probability. …"
          ]
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "additionalProperties": false,
              "description": "Exactly one of references or bibtex.",
              "properties": {
                "bibtex": {
                  "description": "A BibTeX bibliography; parsed server-side (entry key → reference id).",
                  "maxLength": 262144,
                  "type": "string"
                },
                "options": {
                  "additionalProperties": false,
                  "properties": {
                    "include_unpaywall": {
                      "default": false,
                      "description": "Add open-access info per resolved reference.",
                      "type": "boolean"
                    },
                    "strict_authors": {
                      "default": false,
                      "description": "Require every listed author to match, not just the first.",
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                },
                "references": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "authors": {
                        "items": {
                          "maxLength": 200,
                          "type": "string"
                        },
                        "maxItems": 100,
                        "type": "array"
                      },
                      "doi": {
                        "maxLength": 300,
                        "type": "string"
                      },
                      "id": {
                        "maxLength": 120,
                        "type": "string"
                      },
                      "raw": {
                        "description": "The citation as free text; used verbatim as a bibliographic query when no title is given.",
                        "maxLength": 1000,
                        "type": "string"
                      },
                      "title": {
                        "maxLength": 500,
                        "type": "string"
                      },
                      "venue": {
                        "maxLength": 300,
                        "type": "string"
                      },
                      "year": {
                        "maximum": 2100,
                        "minimum": 1500,
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "maxItems": 200,
                  "minItems": 1,
                  "type": "array"
                }
              },
              "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": {
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://aep-api.fly.dev/v1/citation-report/large"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://aep-api.fly.dev/v1/citation-report/large");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://aep-api.fly.dev/v1/citation-report/large")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
aep-api.fly.dev
Endpoint
https://aep-api.fly.dev/v1/citation-report/large
Machine-readable
/resources/12634.json