Developers
Connect your ERP to Skyrack.
One API, two directions. Push your live inventory in; pull the orders buyers place against it. Everything on this page is generated from the code that serves the API.
Overview and auth
Base URL https://skyrack.aero/api/v1. Send your key in an x-api-key header, or as Authorization: Bearer. Keys are scoped:
inventory:readinventory:writeorders:readorders:write
Rate limits: 120 requests per minute per key, and 12 inventory syncs per minute. Money is in dollars in the API and stored as integer cents.
Errors
Every non-2xx response is { error, message, hint?, errors? }.
| Status | error | When |
|---|---|---|
| 400 | bad_request | Body is not valid JSON |
| 401 | unauthorized | Missing, invalid or revoked key, or supplier not approved |
| 403 | forbidden | Key lacks the required scope |
| 404 | not_found | Order does not exist for this supplier |
| 409 | invalid_transition | Order cannot move to the requested status |
| 410 | gone | Legacy endpoint from the 2026 pilot |
| 413 | payload_too_large | More than 5000 items in one sync |
| 422 | unprocessable | validation_failed | Shape or per-item validation failed |
| 429 | rate_limited | Per-key limit exceeded |
Health
GET /health needs no key. With a key it also returns your principal, which is the quickest way to test credentials.
curl https://skyrack.aero/api/v1/health \
-H "x-api-key: $SKYRACK_API_KEY"Inventory
POST /inventory with { items, mode }. replace (default) is your complete stock: anything not in the batch is deactivated. upsert merges by listing; quantity 0 deactivates that line. Up to 5,000 items per call; invalid items are reported individually and valid ones still land.
| Field | Type | Notes |
|---|---|---|
| part_number | string | Required, up to 64 characters, uppercased |
| quantity | integer | Required, 0 to 1,000,000 |
| condition | code | NE, OH, SV, RP, AR, NS, TEST; missing defaults to SV |
| unit_price | number | Dollars, 0 to 10,000,000; 0 means price on application |
| currency | string | ISO 4217, default USD; only USD lines are purchasable |
| description | string | Shown to buyers |
| certification | string | e.g. 8130-3, EASA Form 1 |
| trace | string | Traceability note |
| warehouse | string | Part of the listing identity when no listing_id is sent |
| lead_time_days | integer | 0 to 3650 |
| listing_id | string | Your stable id for the line, up to 128 characters; recommended |
Condition codes
NENewOHOverhauledSVServiceableRPRepairedARAs removedNSNew surplus (stored as New)TESTTested (stored as Serviceable)
curl -X POST https://skyrack.aero/api/v1/inventory \
-H "x-api-key: $SKYRACK_API_KEY" \
-H "content-type: application/json" \
-d '{
"mode": "replace",
"items": [
{
"part_number": "335-005-702-0",
"description": "CFM56-7B fuel nozzle set",
"condition": "OH",
"quantity": 3,
"unit_price": 2950,
"currency": "USD",
"certification": "8130-3",
"trace": "ex-N7762A",
"warehouse": "MIA-01",
"lead_time_days": 2,
"weight_lb": 9.5,
"length_in": 18,
"width_in": 14,
"height_in": 10,
"listing_id": "Q-100345"
}
]
}'{
"ok": true,
"supplier_id": "sup_…",
"mode": "replace",
"accepted": 1,
"rejected": 0,
"total_active": 1,
"errors": [],
"warnings": [],
"synced_at": "2026-10-08T14:02:11.000Z",
"next_step": "Listings are live on part pages immediately."
}GET /inventory returns your active listings in the same shape, with ?include_inactive=1, ?limit and ?cursor for paging.
Orders
When a buyer pays for one of your listings, Skyrack creates a supplier order for you. Poll GET /orders (default status filter NEW and ACKNOWLEDGED; ?status=, ?since=, ?limit, ?cursor).
Skyrack is the buyer of record. buyer is always Skyrack's order desk and ship_to carries the delivery contact (name, company, phone) and address, with an attention line for the Skyrack order. Parts ship straight to that address. Ship blind: Skyrack as the shipper name, no invoices or price lists in the box. Never contact the customer.
shipping says how to ship: service_level (NFO, FIRST_OVERNIGHT, PRIORITY_OVERNIGHT, STANDARD_OVERNIGHT, TWO_DAY, GROUND, HAND_CARRY), account and notes. When account is BUYER, ship on the buyer's carrier (FEDEX, UPS, DHL or OTHER with carrier_name) using account_number. When it is SELLER, ship on your own account and report what it cost as freight_cost when you mark the order shipped; Skyrack adds it to the buyer's invoice. Older orders may have null here.
curl "https://skyrack.aero/api/v1/orders?status=NEW,ACKNOWLEDGED" \
-H "x-api-key: $SKYRACK_API_KEY"{
"orders": [{
"supplier_order_id": "cm…",
"supplier_order_number": "SKY-ABC123-S1",
"status": "NEW",
"created_at": "2026-10-08T14:10:00.000Z",
"paid_at": "2026-10-08T14:10:00.000Z",
"subtotal": 2950,
"currency": "USD",
"buyer": { "company": "Skyrack", "contact_name": "Skyrack order desk", "email": "sales@skyrack.aero", "phone": null },
"ship_to": { "attention": "Skyrack order SKY-ABC123-S1", "name": "J. Ops", "company": "…", "phone": "…", "address": "…", "city": "…", "state": "…", "zip": "…", "country": "…" },
"shipping": { "service_level": "PRIORITY_OVERNIGHT", "account": "BUYER", "carrier": "FEDEX", "carrier_name": null, "account_number": "123456789", "notes": "Dock 4, AOG desk" },
"lines": [{ "listing_id": "Q-100345", "part_number": "335-005-702-0", "description": "…", "condition": "OH", "quantity": 1, "unit_price": 2950 }],
"carrier": null, "tracking_number": null, "reject_reason": null
}],
"next_cursor": null
}Transitions
Statuses: NEWACKNOWLEDGEDSHIPPEDDELIVEREDREJECTED
NEW→ACKNOWLEDGEDviaPOST /orders/{id}/ackNEW or ACKNOWLEDGED→SHIPPEDviaPOST /orders/{id}/shipACKNOWLEDGED (live shipping)→SHIPPEDviaPOST /orders/{id}/label (buys the label on your connected carrier account)NEW or ACKNOWLEDGED→REJECTEDviaPOST /orders/{id}/rejectSHIPPED→DELIVEREDviaSkyrack admin
Any other move returns 409 invalid_transition. Ship requires carrier and tracking_number, plus freight_cost (USD, 0.01 to 5,000) when shipping.account is SELLER: without it ship returns 409 freight_required, and an amount out of range returns 422; reject requires reason. The buyer is emailed on ship; Skyrack reviews every rejection.
curl -X POST https://skyrack.aero/api/v1/orders/SKY-ABC123-S1/ship \
-H "x-api-key: $SKYRACK_API_KEY" \
-H "content-type: application/json" \
-d '{ "carrier": "UPS", "tracking_number": "1Z999AA10123456784", "freight_cost": 186.40 }'curl -X POST https://skyrack.aero/api/v1/orders/SKY-ABC123-S1/reject \
-H "x-api-key: $SKYRACK_API_KEY" \
-H "content-type: application/json" \
-d '{ "reason": "Unit failed outgoing inspection" }'Certs
Every order needs the part's cert before it can ship: POST /orders/{id}/ship returns 409 cert_required until one is uploaded. Each order carries a cert_upload_url for uploading in a browser; it is null for sellers linked to the Skyrack ERP, whose certificates come from the ERP.
POST /orders/{id}/certs (scope orders:write), multipart/form-data
GET /orders/{id}/certs (scope orders:read) lists cert_id, kind, status, reject_reason, uploaded_at. Statuses: UPLOADED, PROCESSING, NEEDS_REVIEW, RELEASED, REJECTED. A rejected cert includes the reason; upload a new copy.
Paperwork before the sale: POST|GET /listings/{id}/certs (scopes inventory:write / inventory:read; {id} is the listing id or your external_id), POST|GET /aog/{rfqNumber}/offers/{lineId}/certs and POST|GET /rfqs/{rfqNumber}/quotes/{lineId}/certs (scopes orders:write / orders:read; your live offer or quote on that line). POST takes multipart file and kind (FAA_8130_3, EASA_FORM_1, COC, TRACE, NON_INCIDENT, TEARDOWN, OTHER). GET returns trace { level, gap_count, under_review, checks[] } and certs[]. Complete paperwork is listed first on part pages.
Skyrack removes your company's details before the customer sees a cert. Pack the original with the part.
Webhooks
If you give us an endpoint, each new order is also pushed as an order.created event: a POST with the order in the shape above under data, plus event, delivery_id and sent_at. Headers: X-Skyrack-EventX-Skyrack-DeliveryX-Skyrack-Signature. The signature is sha256= followed by the hex HMAC-SHA256 of the raw body with your secret. Respond 2xx within 10 seconds.
Retries after a failure: 1 min, 5 min, 30 min, 2 h, 12 h (6 attempts in all). Retries are driven by a scheduled job that currently runs once a day, and by your own polling of GET /orders, which also drains pending deliveries. Polling is therefore the guarantee; the webhook is the fast path. De-duplicate on delivery_id.
import { createHmac, timingSafeEqual } from "node:crypto";
export function verifySkyrackWebhook(rawBody, signatureHeader, secret) {
const expected = "sha256=" + createHmac("sha256", secret).update(rawBody).digest("hex");
return (
signatureHeader.length === expected.length &&
timingSafeEqual(Buffer.from(signatureHeader), Buffer.from(expected))
);
}AOG requests
When a buyer has an aircraft on the ground and you list the part (or an alternate), Skyrack alerts you by email and, if you have an endpoint, an aog.request webhook with the same signing as orders. The webhook is tried once straight away; retries run on the daily schedule, which is usually after the deadline, so also poll GET /aog every few minutes. AOG requests never include the customer's identity; Skyrack handles the sale and you ship direct to the buyer on the PO.
aog.request payload
GET /aog (scope orders:read) lists open AOG requests you were invited to, in the payload shape above.
POST /aog/{rfq_number}/offers (scope orders:write)
Sending again for the same line updates your offer. PUT /profile with { "ship_from_airport": "KMIA" } (scope inventory:write) sets the airport your stock ships from, used to rank stock by distance; buyers never see it.
RFQ quotes
When a buyer on a paid Skyrack plan sends an RFQ for a part you list (or an alternate), or you opt in to “Send me RFQs for parts I don't list” in the portal, Skyrack emails you and, if you have an endpoint, sends an rfq.created webhook with the same signing as orders. RFQs stay open to quotes for 7 days. They never include the customer's identity; Skyrack handles the sale.
rfq.created payload
GET /rfqs (scope orders:read) lists open RFQs you were invited to, in the payload shape above, plus your own quotes[] (line_id, quantity, unit_price, condition, lead_time_days, valid_until, part_type, offered_part_number, part_verified, status).
POST /rfqs/{rfq_number}/quotes (scope orders:write)
The response is { "ok": true, "quote_id": "…", "part_type": "PMA", "part_verified": false }. part_verified says whether the alternate or PMA number matches Skyrack's alternates or FAA PMA data; an unverified number is still sent to the buyer, marked “not verified”. Sending again for the same line updates your quote; DELETE /rfqs/{rfq_number}/quotes?line_id=… withdraws it.
curl -X POST https://skyrack.aero/api/v1/rfqs/RFQ-2026-00042/quotes \
-H "x-api-key: $SKYRACK_API_KEY" \
-H "content-type: application/json" \
-d '{ "line_id": "cm…", "quantity": 2, "unit_price": 1250, "condition": "OVERHAULED", "lead_time_days": 3, "has_cert": true, "part_type": "PMA", "offered_part_number": "2589M83P03-PMA" }'Engines
List whole engines for sale, lease or exchange. A new listing starts as PENDING and goes live after Skyrack approves it. Buyers never see your company, the serial number or the shop that last worked on the engine; offers reach you by email with a private link, and Skyrack runs the deal.
POST /engines (scope inventory:write)
GET /engines (scope inventory:read) lists your engines with engine_id, status, reject_reason and prices. PATCH /engines/{id} takes the full body again: spec or description changes on a live engine send it back to review, price-only changes stay live. POST /engines/{id}/photos (multipart file, JPG or PNG, 4 MB, up to 12) adds photos; location data is removed.
Skyrack's fee is 2% of the deal value, charged only if the deal closes.
Try it
With a valid key the response shows authenticated: true and your supplier id and scopes.
Getting a key
Once your company is approved, account owners create and revoke keys in the seller portal under Settings, and set the webhook endpoint and signing secret there too. Keys are shown once. Skyrack can also issue them for you. Start at pricing, or apply directly. We provide a zero-dependency adapter for Quantum Control, Pentagon 2000 and SAP exports on request.
Ready to connect?
Apply as a stocking supplier. Approval takes a few business days; your key is issued the same day you are approved.