Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Ninja Van Tariff API API

Estimate shipping price.

Ninja Van Tariff API API is one of 5 APIs that Ninja Van publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Tariff API. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 4.1.0.

Requests are made against 2 base URLs: https://api.ninjavan.co/{countryCode}, https://api-sandbox.ninjavan.co/{countryCode}.

1 operations 1 paths 4 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
4.1.0
Base URL
https://api.ninjavan.co/{countryCode}
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Ninja Van Tariff API API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — OAuth2 client-credentials access token obtained from POST /{countryCode}/2.0/oauth/accesstoken, passed as Authorization: Bearer ACCESSTOKEN.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Tariff API 1

Estimate shipping price.

POST
/1.0/public/price
Get price estimate
getPriceEstimate body → 200400

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are PriceEstimateInput (6 properties), Contact (4 properties), PriceEstimate (3 properties), Error (1 property). Each schema is shown below with its type and property counts.

PriceEstimate
object
3 properties
Error
object
1 property
Contact
object
A pickup or delivery party.
4 properties
PriceEstimateInput
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ninjavan-tariff-api-api-openapi.yml Raw ↑

Other APIs Ninja Van publishes across the network.

Ninja Van OAuth API API
Ninja Van Order API API
Ninja Van PUDO API API
Ninja Van Tracking API API