Developer API

Slab Swappers API

Use the Slab Swappers API for marketplace search, verified feedback, price guide data, checklist browsing, hobby news, collection tracking, checkout, Connect onboarding, identity verification, and payment ledgers.

Version v1

Base URL

https://slabswappers.com/api/v1
Auth

Authenticated endpoints use Laravel Sanctum bearer tokens. Public endpoints are rate limited and return paginated JSON resources.

Marketplace

GET /categories

Public marketplace category list with listing counts.

GET /listings

Public listing search. Supports q, category, listing_type, and per_page.

GET /listings/{slug}

Public listing detail by friendly listing slug.

Feedback

GET /users/{id}/feedback

Public verified feedback summary and paginated feedback.

POST /trades/{id}/feedback

Authenticated transaction-bound trade feedback.

POST /orders/{id}/feedback

Authenticated transaction-bound order feedback.

POST /feedback/{id}/reply

Authenticated public reply from the reviewed user.

POST /feedback/{id}/dispute

Authenticated dispute request with reason.

POST /platform-feedback

Public or authenticated platform feedback submission.

Price Guide

GET /price-guide/cards

Search price guide cards across Pokemon, Magic, Lorcana, sports, and non-sports data.

GET /price-guide/cards/{id}

Card detail with value history rows.

GET /price-guide/sets

Set rollup data by sport/game.

Checklists

GET /checklists

Search checklist sets by sport, year, and keyword.

GET /checklists/{slug}

Checklist set plus one-row-per-card paginated card data.

Hobby News

GET /hobby-news

Search published hobby news stories by keyword, category, and sort.

GET /hobby-news/categories

Published hobby news categories with article counts.

GET /hobby-news/{slug}

Published hobby news detail by friendly story slug.

Collection

GET /collection

Authenticated user collection with value summary.

POST /collection

Add a price guide card to the authenticated user collection.

DELETE /collection/{id}

Remove an authenticated user collection item.

Stripe

POST /checkout/listings/{slug}

Create a Stripe Checkout Session for a listing purchase.

GET /connect/account

Create or sync the authenticated seller Stripe connected account.

POST /connect/account-session

Create an embedded Connect account session for onboarding, payouts, balances, and payments.

POST /identity/verification-session

Create a Stripe Identity document verification session.

GET /payments

Authenticated buyer/seller payment ledger.

GET /payments/{id}

Authenticated payment detail.

Webhooks

POST /api/stripe/webhook

Signed Stripe webhook receiver for checkout, payment, charge, refund, and identity events.

Documentation

GET /openapi.json

Machine-readable OpenAPI-style JSON document.