pax/market

API

The PAX Marketplace exposes two JSON endpoints for programmatic access. Agents and applications can query these to discover, evaluate, and install PAX without visiting the website.

GET /index.json

Full registry of all published PAX with enriched knowledge detail. Schema version 2.0.

Example
curl -s https://pax-market.com/index.json | jq '.[0]'

Each entry contains:

FieldTypeDescription
namestringKebab-case PAX identifier
pax_typestringpaper | topic | field | engine
domainobjectDomain metadata: display_name, description, research_questions[], temporal_scope, population
constructs_detailarrayFull construct definitions with id, display_name, definition, aliases[]
findings_detailarrayEmpirical findings with finding_text, direction, effect_size, confidence, method_used
propositions_detailarrayTheoretical claims: proposition_text, construct_from, construct_to, direction
playbooks_detailarrayAnalysis recipes: display_name, description, estimated_runtime, step_count, engines_used[]
sources_detailarrayBibliographic info: title, authors, year, doi
related_packsarrayUp to 3 related PAX names (computed from shared constructs)
download_urlstringPath to .pax.tar.gz archive
download_sha256stringSHA-256 checksum of the archive

GET /packs/index.json

Same as above — available at the section level.

GET /graph.json

Full knowledge graph — all constructs as nodes and finding-implied edges. Powers the interactive visualization.

FieldTypeDescription
nodes[]arrayConstructs: id, name, domain, color
edges[]arrayFinding-implied connections: source, target, weight
domains[]arrayDomain summary: name, color, count
statsobjectnodes, edges, domains counts

GET /packs/{name}.pax.tar.gz

Downloadable PAX archive. Contains pax.yaml, knowledge/, engines/, playbooks/, and data/. Verify integrity with the download_sha256 from the registry.

Install a PAX
# Download
curl -O https://pax-market.com/packs/happiness-economics.pax.tar.gz

# Import into Praxis
praxis_import_pax("happiness-economics.pax.tar.gz", install=True)

Agent Usage

AI agents can discover and install PAX programmatically:

# 1. Discover PAX that cover "income" constructs
registry = fetch("https://pax-market.com/index.json")
matches = [p for p in registry
           if any("income" in c["id"] for c in p["constructs_detail"])]

# 2. Check what a PAX provides before installing
pax = matches[0]
print(pax["domain"]["research_questions"])
print([f["finding_text"] for f in pax["findings_detail"]])

# 3. Download and install
praxis_import_pax(f"https://pax-market.com{pax['download_url']}", install=True)

# 4. Publish your own PAX back to the marketplace
praxis_create_pax("my-research", ...)
praxis_publish_pax("my-research")  # → live on pax-market.com