User-specific price list
Download your personal price list with your individual SMS rates. Returns a single price per service based on your account’s price level. Specify a 2-letter ISO country code (e.g., DE, CH) or ‘all’ for all countries. Requires authentication.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Two-letter ISO country code or ‘all’ for all countries
Query Parameters
Section titled “Query Parameters ”Output format
Language for country names
Responses
Section titled “ Responses ”User-specific price list
Single country response
object
ISO-2 country code
Human-readable country name
Price currency
Country-specific requirements for sending SMS
Single price per service code based on your price level
object
Price per SMS in the selected currency
All countries response
object
ISO-2 country code
Human-readable country name
Price currency
Country-specific requirements for sending SMS
Single price per service code based on your price level
object
Examples
User price list for Germany in EUR
Example response for /me/pricelist/de?currency=eur with authentication. Shows single prices per service based on user’s price level.
{ "country": "DE", "name": "Germany", "currency": "EUR", "requirements": null, "rates": { "pro": 0.06, "economy": 0.044, "direct": 0.062, "text2speech": 0.032 }}Invalid input
Client ID or API key isn’t active or invalid!
Account isn’t activated. Please wait or contact to support!
Resource not found
IP address was temporary blocked, because during short time from it was sent many request with invalid credentials. Please wait and try later.
Code Samples
curl -s 'https://api.lox24.eu/me/pricelist/de?lang=de' -H 'X-LOX24-AUTH-TOKEN: YOUR_API_TOKEN' | jqcurl -s 'https://api.lox24.eu/me/pricelist/all?format=xlsx&lang=de' -H 'X-LOX24-AUTH-TOKEN: YOUR_API_TOKEN' -o lox24_user_pricelist_all.xlsxusing System;using System.Net.Http;using System.Net.Http.Headers;using System.Threading.Tasks;
class Program{ static async Task Main() { using var client = new HttpClient(); client.DefaultRequestHeaders.Add("X-LOX24-AUTH-TOKEN", "YOUR_API_TOKEN");
string url = "https://api.lox24.eu/me/pricelist/de?lang=de"; var response = await client.GetStringAsync(url); Console.WriteLine(response); }}package main
import ( "fmt" "io" "net/http")
func main() { url := "https://api.lox24.eu/me/pricelist/de?lang=de"
req, _ := http.NewRequest("GET", url, nil) req.Header.Set("X-LOX24-AUTH-TOKEN", "YOUR_API_TOKEN")
resp, _ := http.DefaultClient.Do(req) defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body) fmt.Println(string(body))}import java.net.URI;import java.net.http.HttpClient;import java.net.http.HttpRequest;import java.net.http.HttpResponse;
public class Main { public static void main(String[] args) throws Exception { var url = "https://api.lox24.eu/me/pricelist/de?lang=de";
var request = HttpRequest.newBuilder() .uri(URI.create(url)) .header("X-LOX24-AUTH-TOKEN", "YOUR_API_TOKEN") .GET() .build();
var response = HttpClient.newHttpClient() .send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body()); }}const url = 'https://api.lox24.eu/me/pricelist/de?lang=de';
fetch(url, { headers: { 'X-LOX24-AUTH-TOKEN': 'YOUR_API_TOKEN' }}).then(response => response.json()).then(data => console.log(JSON.stringify(data, null, 2)));<?php
$uri = 'https://api.lox24.eu/me/pricelist/de?lang=de';$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $uri);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'X-LOX24-AUTH-TOKEN: YOUR_API_TOKEN',]);
$response = curl_exec($ch);curl_close($ch);
echo $response;import requests
url = 'https://api.lox24.eu/me/pricelist/de'headers = {'X-LOX24-AUTH-TOKEN': 'YOUR_API_TOKEN'}params = {'lang': 'de'}
response = requests.get(url, headers=headers, params=params)print(response.json())