Api Endpoint

PQS - A Quality Gate For Prompts

A Quality Gate For Prompts. Before they break production. Score any AI prompt against 8 dimensions, see what's weak, and get the fixed version in seconds.

Open interactive test console

Offering

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

Endpoint context

URL
https://promptqualityscore.com/api/preflight
MIME type
Not provided
First seen
2026-10-16T02:00:03.055Z
Last seen
Tags
AI, Utility

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
78 ms
Average latency
109 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

{
  "type": "http",
  "method": "POST",
  "bodyType": "json",
  "bodyFields": {
    "prompt": {
      "type": "string",
      "description": "Prompt to preflight"
    },
    "vertical": {
      "type": "string",
      "description": "Domain: software/content/business/education/science/crypto/general/research"
    },
    "endpoint_url": {
      "type": "string",
      "description": "Optional endpoint URL for trust scoring"
    }
  },
  "discoverable": true
}

Output schema

{
  "type": "object",
  "required": [
    "pqs_version",
    "clearance",
    "prompt"
  ],
  "properties": {
    "chain": {
      "enum": [
        "base",
        "solana"
      ],
      "type": "string"
    },
    "prompt": {
      "type": "object",
      "properties": {
        "grade": {
          "type": "string"
        },
        "score": {
          "type": "integer"
        },
        "out_of": {
          "enum": [
            80
          ],
          "type": "integer"
        },
        "feedback": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "top_issue": {
          "type": [
            "string",
            "null"
          ]
        },
        "dimensions": {
          "type": "object",
          "properties": {
            "total": {
              "type": "integer",
              "maximum": 80,
              "minimum": 8
            },
            "clarity": {
              "type": "integer",
              "maximum": 10,
              "minimum": 1
            },
            "context": {
              "type": "integer",
              "maximum": 10,
              "minimum": 1
            },
            "examples": {
              "type": "integer",
              "maximum": 10,
              "minimum": 1
            },
            "constraints": {
              "type": "integer",
              "maximum": 10,
              "minimum": 1
            },
            "specificity": {
              "type": "integer",
              "maximum": 10,
              "minimum": 1
            },
            "cot_structure": {
              "type": "integer",
              "maximum": 10,
              "minimum": 1
            },
            "output_format": {
              "type": "integer",
              "maximum": 10,
              "minimum": 1
            },
            "role_definition": {
              "type": "integer",
              "maximum": 10,
              "minimum": 1
            }
          }
        },
        "threshold_met": {
          "type": "boolean"
        }
      }
    },
    "endpoint": {
      "type": "object",
      "properties": {
        "wallet": {
          "type": "string"
        },
        "trust_label": {
          "type": "string"
        },
        "trust_score": {
          "type": "number"
        },
        "resolution_source": {
          "type": "string"
        }
      },
      "description": "Present only when endpoint_url was supplied"
    },
    "clearance": {
      "enum": [
        "CLEAR",
        "CAUTION",
        "BLOCK"
      ],
      "type": "string"
    },
    "confidence": {
      "type": "number"
    },
    "pqs_version": {
      "enum": [
        "2.0"
      ],
      "type": "string"
    }
  }
}