REST API

Overview

Create credited links from your tools and AI assistants.

Build NinjaBuy links into your publishing workflow. Partners and creators can convert links in bulk, collect results from background jobs, and connect AI assistants through MCP. Links credit the signed-in NinjaBuy account; see Referrals for how visits, sign-ups and orders are counted.

Use a personal API key for REST scripts, or OAuth for an application acting for other customers. REST also accepts the same OAuth access token as MCP. There is no anonymous or identifier-only link creation.