API documentation

Base URL: https://saas.quantumaffinitygravity.com. Authenticate with your key in the x-api-key header (or as a Bearer token). Rate limit: 60 requests per minute per key. Every response includes provenance and validation status; invalid input returns an explicit JSON error naming the field, the expected shape, and what was received.

Endpoints

MethodPathPurpose
GET/api/healthService + upstream data-fleet health
GET/api/v1/kinetics/galaxiesAll indexed SPARC galaxies with headline fit statistics
POST/api/v1/kinetics/fitFull fit + rotation curve for one galaxy
POST/api/v1/resonanceResonance indices for one PDB target (research use only)

Examples

curl -X POST "https://saas.quantumaffinitygravity.com/api/v1/kinetics/fit" \
     -H "x-api-key: qag_live_your_key_here" \
     -H "Content-Type: application/json" \
     -d '{"galaxy": "NGC3198"}'
import requests

r = requests.post(
    "https://saas.quantumaffinitygravity.com/api/v1/resonance",
    headers={"x-api-key": "qag_live_your_key_here"},
    json={"target": "6VXX"},
)
print(r.json())
const res = await fetch("https://saas.quantumaffinitygravity.com/api/v1/kinetics/galaxies", {
  headers: { "x-api-key": "qag_live_your_key_here" },
});
const data = await res.json();

Symbols and units

FieldMeaningUnit
v_inf_kmsAsymptotic (flat) rotation velocity of the fitted curvekm/s
r_aff_kpcAffinity radius parameter of the QAG fitkpc
qag_red_chi2 / mond_red_chi2 / newton_red_chi2Reduced chi-squared of each model against the observed rotation curvedimensionless
rotation_curve.points[radius, observed velocity, velocity error, baryonic velocity] per pointkpc, km/s, km/s, km/s
Molecular_Weight_kDaMolecular weight of the indexed structural targetkDa
Disruptive_Frequency_MHzResonance-engine disruptive frequency indexMHz
Validation status. Kinetics fit statistics are the QAG team's own fits to the public SPARC release and are labeled team-fit until independently validated. Resonance outputs are research-use-only model indices, not clinical or diagnostic claims.