Quick pre-flight quality score: composite (0-100) + grade (A-F) + three framework sub-scor
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.
1000 (raw units)
price
4
calls / 30d
3
unique payers
2026-09-17
updated
Provider
promptqualityscore.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xB40a687ca5483Ebc02F870348f6e08971Cae1308",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "ai",
"discoverable": true,
"info": {
"input": {
"body": {
"prompt": "Explain PQS scoring in one sentence to an AI agent operator.",
"vertical": "general"
},
"bodyType": "json",
"method": "POST",
"pathParams": {},
"type": "http"
},
"output": {
"example": {
"frameworks": {
"geval": 6,
"peem": 5.5,
"ragas": 5.7
},
"grade": "C",
"methodology_url": "https://promptqualityscore.com/blog/five-framework-synthesis?utm_source=pqs-grade&utm_medium=api&utm_campaign=2026-05-grade-launch",
"score": 58,
"upgrade_url": "https://promptqualityscore.com/pro?utm_source=pqs-grade&utm_medium=api&utm_campaign=2026-05-grade-launch",
"verdict": "PEEM flags weak output format and role definition. Specify how the answer should be shaped and who is asking."
},
"type": "json"
}
},
"routeTemplate": ":var1",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"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": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
},
"tags": [
"pqs-grade",
"prompt-quality",
"preflight",
"scoring",
"llm-tooling",
"x402",
"pqs"
]
}
}Use it
curl
curl "https://promptqualityscore.com/api/pqs-grade" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://promptqualityscore.com/api/pqs-grade");
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://promptqualityscore.com/api/pqs-grade")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/8844.json, and this resource appears in /discovery/resources and /discovery/search.