Api Endpoint

promptqualityscore.com

Quick pre-flight quality score: composite (0-100) + grade (A-F) + three framework sub-scores (PEEM, RAGAS, G-Eval) + verdict. Run upstream of any other paid call to filter weak prompts before inference. The cheapest gate on the AI input quality problem.

Open interactive test console

Offering

Provider
promptqualityscore.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Development
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://promptqualityscore.com/api/pqs-grade
MIME type
Not provided
First seen
2026-10-16T01:51:10.599Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xB40a687ca5483Ebc02F870348f6e08971Cae1308"
  }
]

Observed health

Status
Healthy
Latest latency
160 ms
Average latency
322 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "prompt": {
          "description": "Prompt text to grade (1-10000 chars)",
          "maxLength": 10000,
          "minLength": 1,
          "type": "string"
        },
        "vertical": {
          "default": "general",
          "description": "Optional domain: software/content/business/education/science/crypto/general/research",
          "enum": [
            "software",
            "content",
            "business",
            "education",
            "science",
            "crypto",
            "general",
            "research"
          ],
          "type": "string"
        }
      },
      "required": [
        "prompt"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "pathParams": {
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "type": "json",
  "example": {
    "grade": "C",
    "score": 58,
    "verdict": "PEEM flags weak output format and role definition. Specify how the answer should be shaped and who is asking.",
    "frameworks": {
      "peem": 5.5,
      "geval": 6,
      "ragas": 5.7
    },
    "upgrade_url": "https://promptqualityscore.com/pro?utm_source=pqs-grade&utm_medium=api&utm_campaign=2026-05-grade-launch",
    "methodology_url": "https://promptqualityscore.com/blog/five-framework-synthesis?utm_source=pqs-grade&utm_medium=api&utm_campaign=2026-05-grade-launch"
  }
}