NewSpace Market API
A public, read-only REST API over the launch windows, providers, hardware catalog and matchmaker that power the platform. Build tools, dashboards and integrations on live space-industry data.
Base URL & conventions
https://newspacemarket.com/wp-json/
- All endpoints are GET and return JSON. Public catalogue reads need no authentication, no key and no registration.
-
Rate limit: 90 requests per minute and 900 per hour, per IP address.
Every response carries
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset(Unix time). Exceeding it returns429with aRetry-Afterheader — back off and retry rather than repeating immediately. -
Responses are sent with
Cache-Control: max-age=300. Respect it: the catalogue does not change by the second, and a cached answer costs neither of us anything. - Need more than that — a bulk export, a higher ceiling, a webhook when the catalogue changes? Write to info@newspacemarket.com and say what you are building. There is no paid tier to upsell you; we would simply like to know what is being built on this data.
- Data is sourced from The Space Devs Launch Library 2 and from suppliers. It may be delayed or change without notice — verify critical figures at the source. See Terms.
- The public API above is read-only. A company manages its own listing — profile, products, specifications, services, media — through the token-based Company API; buyers send RFQs from their account.
-
/kls/v1/healthreturns the service status and the content types it exposes — intended for uptime checks in your own monitoring, not for reading in a browser.
Marketplace & catalog
/kls/v1/productsSearch the hardware catalog. Supports category, company, keyword search, pagination and parametric facet filters.
cat | category slug, e.g. deployers-separation |
org | company (provider) ID |
search | keyword (title / specs) |
per_page | items per page (default 24) |
page | page number |
f_{attr}_min / f_{attr}_max | numeric facet range, e.g. f_payload_mass_kg_min=6 |
curl 'https://newspacemarket.com/wp-json/kls/v1/products?cat=deployers-separation&f_capacity_u_min=12'/kls/v1/products/{id}Full detail for one product: specs, gallery, datasheets, price/availability, company.
curl 'https://newspacemarket.com/wp-json/kls/v1/products/711'/kls/v1/product-categoriesThe marketplace category tree with live product counts.
include_empty | set to 1 to include categories with 0 products |
/kls/v1/facetsAvailable filter facets (numeric ranges, units, EN labels) for a category — the parameters you can pass to /products as f_{attr}_min/max.
cat | category slug (required for category-specific facets) |
curl 'https://newspacemarket.com/wp-json/kls/v1/facets?cat=deployers-separation'Companies
/kls/v1/providersDirectory of listed companies (launch providers & manufacturers) with country, capabilities and counts.
per_page | items per page |
page | page number |
curl 'https://newspacemarket.com/wp-json/kls/v1/providers?per_page=20'Launches & matchmaker
/kls/v1/launches/upcomingUpcoming launch windows, synced from Launch Library 2 (rocket, orbit, pad, NET in UTC, status).
per_page | items per page |
page | page number |
curl 'https://newspacemarket.com/wp-json/kls/v1/launches/upcoming?per_page=10'/sn/v1/matchScore upcoming launch windows against a mission profile — the engine behind the homepage matchmaker. Returns ranked windows with total_matches and relevant service offers.
mass_kg | payload mass in kg |
form_factor | e.g. 6u, 12u, 16u, smallsat-100 |
orbit | e.g. sso, leo, gto, polar |
window_start | earliest date, YYYY-MM-DD |
top_n | number of results (default 6) |
curl 'https://newspacemarket.com/wp-json/sn/v1/match?mass_kg=12&form_factor=6u&orbit=sso&top_n=6'/sn/v1/capabilitiesReference lists supported by the matchmaker: orbits, form factors.
Status
/kls/v1/healthLightweight health/status check.
curl 'https://newspacemarket.com/wp-json/kls/v1/health'Company API — manage your own listing
Companies listed on NewSpace Market can keep their profile, products, specifications, services, logo, photos and PDF datasheets up to date from their own systems — a PIM, a script, or an AI agent — instead of typing them into the cabinet. Everything a token writes appears on your public company and product pages at once.
- Get a token. Claim or register your company, open your cabinet → API and create a token (read & write or read only; expires in 30 days, 90 days, 1 year or never). It is shown once — we keep only its fingerprint. Revoke it there at any time.
- Authenticate every call with
Authorization: Bearer nsm_…(orX-NSM-Token). HTTPS only. Base URL:https://newspacemarket.com/wp-json/nsm/v1. - Scope. A token acts on its own company and that company's records only. Records of other companies answer
404, exactly like records that do not exist. The token stops working if the person who issued it leaves the company. - Limits: 120 requests per minute and 3000 per hour per token,
of them 60 writes per minute; 200 uploads per hour per company.
Images up to 15 MB (JPEG, PNG, WebP), PDF up to 20 MB, checked by content.
429comes withRetry-After. - Strict input. JSON bodies; unknown fields are rejected with
400 nsm_unknown_fieldrather than silently dropped. Errors are{"code","message","data":{"status","field"}}. - Two layers of specifications.
specsis the table on the product card (name / value / unit). Typed values are machine-comparable figures per property of a class — canonical units, measurement condition, source — used by search, comparison and AI matching. Values you write are marked L2, confirmed by the manufacturer, and our datasheet extraction never overwrites them. - Deleting moves a product, service or file to the trash; restore it within 30 days with
POST …/restore. - Change log. Every write is recorded with old and new values —
GET /changesand the API tab of the cabinet. - For AI agents: the machine-readable description is
https://newspacemarket.com/wp-json/nsm/v1/openapi.json(OpenAPI 3.1, no token needed). Import it as a ChatGPT Custom GPT Action, a LangChain / CrewAI / n8n OpenAPI toolkit or any OpenAPI-to-MCP bridge, and give the agent the token as a bearer secret. Suggested flow:GET /me→GET /reference→ upload media → create or update products → write typed values → checkGET /changes.
Endpoints
/nsm/v1/meToken, company, user and limits — call first to check the token.
curl -H 'Authorization: Bearer nsm_your_token_here' 'https://newspacemarket.com/wp-json/nsm/v1/me'/nsm/v1/referenceAllowed values: product and service categories, form factors, orbits, rockets, currencies, availability, typed classes.
/nsm/v1/companyRead or partially update the company profile: texts, contacts, offices, milestones, statistics, capabilities, logo, background, gallery, company PDFs.
company_name, short_description, description, company_bio | texts (company_bio: blank lines separate paragraphs) |
website, country, hq, founding_year | country — ISO 3166-1 alpha-3, e.g. deu |
contact_email, company_email_sales, company_phone, linkedin | contacts |
offices[], milestones[] | {city,country,address} / {year,text}; replace the list |
stat_missions, stat_satellites, stat_employees, stat_funding | statistics |
cap_form_factors[], cap_rockets[], cap_orbits[], cap_target_max_mass_kg | launch capabilities (slugs from /reference) |
logo_id, background_id, gallery_ids[], datasheet_ids[] | media ids from POST /media |
curl -X PATCH -H 'Authorization: Bearer nsm_your_token_here' -H 'Content-Type: application/json' 'https://newspacemarket.com/wp-json/nsm/v1/company' \
-d '{"short_description":"CubeSat deployers and separation systems.","hq":"Bremen, Germany","founding_year":2016}'/nsm/v1/productsList (page, per_page, status, search, modified_after) or create products. status=publish shows the product at once; the default is draft.
title | required on create |
description, short_description | full text (basic HTML) and a one-line summary |
category | marketplace category slug, e.g. cubesat-deployers |
specs[] | {name, value, unit} — the card table, replaces the list |
price, currency, hide_price, availability, lead_time, moq, rfq_enabled, product_status | commercial fields |
thumbnail_id, gallery_ids[], pdf_ids[] | media ids |
datasheet_urls[], source_url | links to your own site |
mrd_class, typed_values[] | typed values in the same call |
curl -X POST -H 'Authorization: Bearer nsm_your_token_here' -H 'Content-Type: application/json' 'https://newspacemarket.com/wp-json/nsm/v1/products' -d '{
"title": "Deployer 12U",
"status": "draft",
"category": "cubesat-deployers",
"short_description": "12U CubeSat deployer with non-pyrotechnic release.",
"specs": [{"name":"Mass","value":"4.2","unit":"kg"},{"name":"Capacity","value":"12","unit":"U"}],
"price": 45000, "currency": "EUR", "availability": "made_to_order"
}'/nsm/v1/products/{id}Read, partially update or move to the trash one of your products. Lists (specs, gallery_ids, pdf_ids, datasheet_urls) replace the whole list.
curl -X PATCH -H 'Authorization: Bearer nsm_your_token_here' -H 'Content-Type: application/json' 'https://newspacemarket.com/wp-json/nsm/v1/products/123' -d '{"status":"publish","lead_time":"8-12 weeks"}'
curl -X DELETE -H 'Authorization: Bearer nsm_your_token_here' 'https://newspacemarket.com/wp-json/nsm/v1/products/123'/nsm/v1/products/{id}/restoreBring a product back from the trash (as a draft).
/nsm/v1/products/{id}/typedRead or upsert typed values. Each value fills a slot: property + bound + condition + variant. Units are converted to the canonical unit of the property; enum values must match the dictionary.
mrd_class | class from /reference → typed_classes (needed when the product has no typed values yet) |
values[].prop_key | property from /reference/typed-classes/{class} |
values[].value_num, value_max, unit | numbers; or values[].value as text, e.g. "-40 to +85 °C" |
values[].value_text | enum or text value |
values[].bound, cond, variant, note | min/typical/max/range/nominal, measurement condition, model of a line, where the figure comes from |
curl -X PUT -H 'Authorization: Bearer nsm_your_token_here' -H 'Content-Type: application/json' 'https://newspacemarket.com/wp-json/nsm/v1/products/123/typed' -d '{
"mrd_class": "deployers",
"values": [
{"prop_key":"mass_g","value_num":4.2,"unit":"kg","note":"datasheet rev B p.2"},
{"prop_key":"temp_op_c","value":"-40 to +85"}
]
}'/nsm/v1/products/{id}/typed/{prop_key}Remove a typed property (optionally only ?cond= / ?bound= / ?variant=); it is also kept out of future datasheet extraction.
/nsm/v1/reference/typed-classes/{class}Dictionary of a typed class: prop_key, label, canonical unit, kind (number, range, enum, text, bool), enum values.
curl -H 'Authorization: Bearer nsm_your_token_here' 'https://newspacemarket.com/wp-json/nsm/v1/reference/typed-classes/reaction-wheels'/nsm/v1/servicesList or create services (launch, integration, testing, ground segment, insurance…).
title, description, status, category, kind | category from /reference → service_categories |
price_usd, price_range, max_mass_kg, lead_time_days, rideshare | offer terms |
rocket, slot_form_factor, host_form_factor, orbits[], form_factors[] | slugs from /reference |
thumbnail_id, gallery_ids[] | media ids |
/nsm/v1/services/{id}Read, update or move a service to the trash; POST /services/{id}/restore brings it back.
/nsm/v1/mediaYour media library, or upload one image/PDF — multipart field <file>, or JSON {filename, content_base64}. attach_to places it right away.
attach_to | company_logo, company_background, company_gallery, company_datasheets, product_thumbnail, product_gallery, product_pdfs, service_thumbnail, service_gallery |
product_id / service_id | for attach_to=product_* / service_* |
title, alt | optional |
curl -X POST -H 'Authorization: Bearer nsm_your_token_here' 'https://newspacemarket.com/wp-json/nsm/v1/media' -F 'file=@deployer-12u.jpg' -F 'attach_to=product_gallery' -F 'product_id=123'
curl -X POST -H 'Authorization: Bearer nsm_your_token_here' 'https://newspacemarket.com/wp-json/nsm/v1/media' -F 'file=@datasheet.pdf' -F 'attach_to=product_pdfs' -F 'product_id=123'
curl -X POST -H 'Authorization: Bearer nsm_your_token_here' 'https://newspacemarket.com/wp-json/nsm/v1/media' -F 'file=@logo.png' -F 'attach_to=company_logo'/nsm/v1/media/{id}Read, rename (title, alt) or move a file to the trash — it is removed from the company card and from every product and service using it. POST /media/{id}/restore brings it back.
/nsm/v1/changesChange log of your company: every API write with old and new values (since, object_type, object_id, page).
curl -H 'Authorization: Bearer nsm_your_token_here' 'https://newspacemarket.com/wp-json/nsm/v1/changes?object_type=product&per_page=20'Building something?
Need higher limits, a bulk feed, or a partnership? We're keeping the API free while the marketplace grows and would love to hear what you're building.