Integration tools
Download the contract and examples, then exercise your HTTP client against the local simulator.
Downloads
Postman collection
Operations grouped by area. The collection targets the local simulator by default.
Local API simulator
Example responses for the contract operations. To run the simulator, use Node.js 18 or later.
The simulator returns fixed data. Verify photo uploads, moderation, payments, CEPiK, invoice issuance and database writes in an authorized Motano test environment.
Start the server
node motano-mock.mjsSet the origin and synthetic key
export MOTANO_API_ORIGIN=http://127.0.0.1:3201
export MOTANO_API_KEY=motano-docs-demoFirst read
curl --fail-with-body --request GET \
--url "${MOTANO_API_ORIGIN}/api/v1/listings?limit=25" \
--header "Authorization: Bearer ${MOTANO_API_KEY}"Exercise retries
Set X-Motano-Mock-Scenario to rate-limit or unavailable. The simulator returns 429 or 503 with Retry-After.
curl -i \
--header "X-Motano-Mock-Scenario: rate-limit" \
--header "Authorization: Bearer ${MOTANO_API_KEY}" \
--url "${MOTANO_API_ORIGIN}/api/v1/listings"Sample clients
Standalone files to list your own listings. Download a format and set the environment variables shown above.
Contract version 1.0.0
The REST path version is /api/v1. Track the schema version and changes in the downloadable specification.
Go-live checklist ↗