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:read
  • inventory:write
  • orders:read
  • orders: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? }.

StatuserrorWhen
400bad_requestBody is not valid JSON
401unauthorizedMissing, invalid or revoked key, or supplier not approved
403forbiddenKey lacks the required scope
404not_foundOrder does not exist for this supplier
409invalid_transitionOrder cannot move to the requested status
410goneLegacy endpoint from the 2026 pilot
413payload_too_largeMore than 5000 items in one sync
422unprocessable | validation_failedShape or per-item validation failed
429rate_limitedPer-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.

GET /api/v1/health
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.

FieldTypeNotes
part_numberstringRequired, up to 64 characters, uppercased
quantityintegerRequired, 0 to 1,000,000
conditioncodeNE, OH, SV, RP, AR, NS, TEST; missing defaults to SV
unit_pricenumberDollars, 0 to 10,000,000; 0 means price on application
currencystringISO 4217, default USD; only USD lines are purchasable
descriptionstringShown to buyers
certificationstringe.g. 8130-3, EASA Form 1
tracestringTraceability note
warehousestringPart of the listing identity when no listing_id is sent
lead_time_daysinteger0 to 3650
listing_idstringYour stable id for the line, up to 128 characters; recommended

Condition codes

  • NE New
  • OH Overhauled
  • SV Serviceable
  • RP Repaired
  • AR As removed
  • NS New surplus (stored as New)
  • TEST Tested (stored as Serviceable)
POST /api/v1/inventory
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"
      }
    ]
  }'
200 response
{
  "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.

GET /api/v1/orders
curl "https://skyrack.aero/api/v1/orders?status=NEW,ACKNOWLEDGED" \
  -H "x-api-key: $SKYRACK_API_KEY"
response
{
  "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 → ACKNOWLEDGED via POST /orders/{id}/ack
  • NEW or ACKNOWLEDGED → SHIPPED via POST /orders/{id}/ship
  • ACKNOWLEDGED (live shipping) → SHIPPED via POST /orders/{id}/label (buys the label on your connected carrier account)
  • NEW or ACKNOWLEDGED → REJECTED via POST /orders/{id}/reject
  • SHIPPED → DELIVERED via Skyrack 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.

ship
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 }'
reject
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

filefilePDF, JPG or PNG, up to 4 MB and 10 pageskindstringFAA_8130_3, EASA_FORM_1, COC, TRACE, NON_INCIDENT, TEARDOWN, OTHER

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.

verify (Node)
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

rfq_numberstringThe request; use it to send offerslines[]arrayline_id, part_number, quantity, min_condition (shop key or null)airportstringICAO of the aircraft's airportneed_byISO 8601When the aircraft must flyrespond_urlurlPrivate page to answer without logging inexpires_atISO 8601Offers close at this time or when the buyer chooses

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)

line_idstringRequired; from lines[]quantityinteger1 to the line's quantityunit_pricenumberUSD, 0.01 to 10,000,000conditionstringNEW, OVERHAULED, SERVICEABLE, REPAIRED, AS_REMOVEDready_in_hoursinteger0 to 72ship_from_airportstringICAO or IATA; defaults to your profilehas_certboolean8130-3 or equivalent availablenotesstringSeen only by Skyrack

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

rfq_numberstringThe RFQ; use it to send quoteslines[]arrayline_id, part_number, quantity, min_condition (shop key or null)need_byISO 8601 | nullWhen the buyer needs it, if givenrespond_urlurlPrivate page to quote without logging inexpires_atISO 8601Quotes close at this time or when the buyer buys

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)

line_idstringRequired; from lines[]quantityinteger1 to the line's quantityunit_pricenumberUSD, 0.01 to 10,000,000conditionstringNEW, OVERHAULED, SERVICEABLE, REPAIRED, AS_REMOVEDlead_time_daysintegerRequired, 0 to 365valid_untildateOptional; default 14 days, at most 90 days outhas_certboolean8130-3 or equivalent on filepart_typestringEXACT (default), ALTERNATE or PMAoffered_part_numberstringRequired for ALTERNATE and PMA; shown to the buyer, labellednotesstringSeen only by Skyrack

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.

send a quote
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)

familystringCFM56, LEAP, V2500, PW1000G, PW4000, PW100, PW150, PT6, CF34, CF6, GE90, GEnx, Trent, RB211, BR700, TFE731, OthermodelstringRequired, e.g. CFM56-7B26serial_numberstringRequired; seen only by SkyrackconditionstringSERVICEABLE, OVERHAULED, AS_REMOVED, TEARDOWNtsn, csn, tso, csointegerHours and cycles, 0 to 200,000last_shop_visit_atdateYYYY-MM-DDlast_shop_visit_bystringSeen only by Skyrackllps[]arrayname, part_number, cycles_remaining (0 to 200,000)qec_included, stand_includedbooleanOptionalcountrystringTwo-letter code of where the engine sitsdescriptionstringShown after approval; changing it sends the listing back to reviewdeal_typesarraySALE, LEASE, EXCHANGEsale_price, lease_monthly_rent, lease_rate_per_hour, exchange_feenumberUSD, 0.01 to 100,000,000; omit for price on request

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.