Active price list (public)
const url = 'https://api.replifier.com/v1/public/pricing';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/public/pricingOnly publishable tiers and amounts from the active price list; never negotiated discounts or Stripe ids. Amounts come in the currency of the country (?country=XX, or the request country): EUR for the euro zone, MXN for Mexico, USD otherwise; if the list has no amounts in that currency it answers USD with currency: "USD". Cached for 1 h (private when the country comes from the request). Without an active price list it responds 503 pricing_unavailable and the website points to the dashboard.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”ISO 3166-1 alpha-2 country. Defaults to the request country (Cloudflare cf.country).
ISO 3166-1 alpha-2 country. Defaults to the request country (Cloudflare cf.country).
Responses
Section titled “Responses”Price list
object
object
Monthly amount in the currency’s minor unit (cents); null = custom pricing.
Monthly equivalent when billed annually.
Agency discount on any tier; null = not published.
object
Agency discount percentage, on both monthly and annual plans.
Minimum paid brands for the agency discount (Free brands do not count).
Example generated
{ "currency": "example", "trialDays": 1, "plans": [ { "code": "example", "name": "example", "monthly": 1, "annualMonthly": 1, "includedSends": 1 } ], "agency": { "discountPct": 1, "minPaidBrands": 1 }, "updatedAt": "example"}Internal error
object
object
Example
{ "error": { "code": "not_found" }}Service temporarily unavailable
object
object
Example
{ "error": { "code": "not_found" }}