> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# GetResourcePrice

POST https://api.voximplant.com/platform_api/GetResourcePrice

Gets the resource price.

Reference: https://docs.voximplant.ai/api-reference/management-api/reference/accounts/get-resource-price

## Authentication

- `Authorization` header (bearer token, required) — Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the `Authorization` header as a Bearer value: ``` Authorization: Bearer $VOXIMPLANT_TOKEN ``` See [Authorization](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.

## Request

### Query parameters

- `resource_type` (list of string, optional) — The resource type list separated by semicolons (;). The possible values are: **A2P\_SMS\_E212** — Service SMS**ASR** — Speech recognition**ASR\_AWS** — Speech recognition by Amazon**ASR\_DEEPGRAM** — Speech recognition by Deepgram**ASR\_GOOGLE\_ENHANCED** — Speech recognition by Google**AUDIOHDCONFERENCE** — HD audio conferencing**AUDIOHDRECORD** — HD audio call recording**AUDIORECORD** — Audio call recording**CALLSESSION** — Simultaneous sessions per account**DIALOGFLOW** — Dialogflow ES**DIALOGFLOW\_CX** — Dialogflow CX**IM\_OVERRUN** — Exceeding instant messages**KV\_STORAGE** — Key-value storage**MAU\_OVERRUN** — Exceeding monthly active users**NLU** — Avatar requests**PSTN\_IN\_ALASKA** — Incoming phone calls to Alaska phone numbers**PSTN\_IN\_GB** — Incoming phone calls to United Kingdom phone numbers**PSTN\_IN\_GEO\_AE** — Incoming geographical phone calls to UAE phone numbers**PSTN\_IN\_GEO\_AO** — Incoming geographical phone calls to Angola phone numbers**PSTN\_IN\_GEO\_BH** — Incoming geographical phone calls to Bahrain phone numbers**PSTN\_IN\_GEO\_BR** — Incoming geographical phone calls to Brazil phone numbers**PSTN\_IN\_GEO\_CN** — Incoming geographical phone calls to China phone numbers**PSTN\_IN\_GEO\_EC** — Incoming geographical phone calls to Ecuador phone numbers**PSTN\_IN\_GEO\_IN** — Incoming geographical phone calls to India phone numbers**PSTN\_IN\_GEO\_JO** — Incoming geographical phone calls to Jordan phone numbers**PSTN\_IN\_GEO\_JP** — Incoming geographical phone calls to Japan phone numbers**PSTN\_IN\_GEO\_KG** — Incoming geographical phone calls to Kyrgyzstan phone numbers**PSTN\_IN\_GEO\_KH** — Incoming geographical phone calls to Cambodia phone numbers**PSTN\_IN\_GEO\_MA** — Incoming geographical phone calls to Morocco phone numbers**PSTN\_IN\_GEO\_NG** — Incoming geographical phone calls to Nigeria phone numbers**PSTN\_IN\_GEO\_PE** — Incoming geographical phone calls to Peru phone numbers**PSTN\_IN\_GEO\_PH** — Incoming geographical phone calls to Philippines phone numbers**PSTN\_IN\_GEO\_PK** — Incoming geographical phone calls to Pakistan phone numbers**PSTN\_IN\_GEO\_PY** — Incoming geographical phone calls to Paraguay phone numbers**PSTN\_IN\_GEO\_RS** — Incoming geographical phone calls to Serbia phone numbers**PSTN\_IN\_GEO\_SA** — Incoming geographical phone calls to Saudi Arabia phone numbers**PSTN\_IN\_GEO\_UG** — Incoming geographical phone calls to Uganda phone numbers**PSTN\_IN\_GEO\_UY** — Incoming geographical phone calls to Uruguay phone numbers**PSTN\_IN\_GEO\_UZ** — Incoming geographical phone calls to Uzbekistan phone numbers**PSTN\_IN\_GEO\_VN** — Incoming geographical phone calls to Vietnam phone numbers**PSTN\_IN\_GEOGRAPHIC** — Incoming geographical phone calls**PSTN\_IN\_MOB\_AU** — Incoming mobile phone calls to Australia phone numbers**PSTN\_IN\_MOB\_BD** — Incoming mobile phone calls to Bangladesh phone numbers**PSTN\_IN\_MOB\_BE** — Incoming mobile phone calls to Belgium phone numbers**PSTN\_IN\_MOB\_BR** — Incoming mobile phone calls to Brazil phone numbers**PSTN\_IN\_MOB\_CA** — Incoming mobile phone calls to Canada phone numbers**PSTN\_IN\_MOB\_CO** — Incoming mobile phone calls to Colombia phone numbers**PSTN\_IN\_MOB\_DK** — Incoming mobile phone calls to Denmark phone numbers**PSTN\_IN\_MOB\_EG** — Incoming mobile phone calls to Egypt phone numbers**PSTN\_IN\_MOB\_FI** — Incoming mobile phone calls to Finland phone numbers**PSTN\_IN\_MOB\_GB** — Incoming mobile phone calls to United Kingdom phone numbers**PSTN\_IN\_MOB\_HK** — Incoming mobile phone calls to Hong Kong phone numbers**PSTN\_IN\_MOB\_ID** — Incoming mobile phone calls to Indonesia phone numbers**PSTN\_IN\_MOB\_IL** — Incoming mobile phone calls to Israel phone numbers**PSTN\_IN\_MOB\_IN** — Incoming mobile phone calls to India phone numbers**PSTN\_IN\_MOB\_KZ** — Incoming mobile phone calls to Kazakhstan phone numbers**PSTN\_IN\_MOB\_LA** — Incoming mobile phone calls to Laos phone numbers**PSTN\_IN\_MOB\_LV** — Incoming mobile phone calls to Latvia phone numbers**PSTN\_IN\_MOB\_MU** — Incoming mobile phone calls to Mauritius phone numbers**PSTN\_IN\_MOB\_MX** — Incoming mobile phone calls to Mexico phone numbers**PSTN\_IN\_MOB\_MY** — Incoming mobile phone calls to Malaysia phone numbers**PSTN\_IN\_MOB\_NI** — Incoming mobile phone calls to Nicaragua phone numbers**PSTN\_IN\_MOB\_NL** — Incoming mobile phone calls to the Netherlands phone numbers**PSTN\_IN\_MOB\_NP** — Incoming mobile phone calls to Nepal phone numbers**PSTN\_IN\_MOB\_PE** — Incoming mobile phone calls to Peru phone numbers**PSTN\_IN\_MOB\_PL** — Incoming mobile phone calls to Poland phone numbers**PSTN\_IN\_MOB\_PR** — Incoming mobile phone calls to Puerto Rico phone numbers**PSTN\_IN\_MOB\_PT** — Incoming mobile phone calls to Portugal phone numbers**PSTN\_IN\_MOB\_RU** — Incoming mobile phone calls to Russia phone numbers**PSTN\_IN\_MOB\_SE** — Incoming mobile phone calls to Sweden phone numbers**PSTN\_IN\_MOB\_US** — Incoming mobile phone calls to the United States phone numbers**PSTN\_IN\_NATIONAL\_AM** — Incoming national phone calls to Armenia phone numbers**PSTN\_IN\_NATIONAL\_BO** — Incoming national phone calls to Bolivia phone numbers**PSTN\_IN\_NATIONAL\_HN** — Incoming national phone calls to Honduras phone numbers**PSTN\_IN\_NATIONAL\_JM** — Incoming national phone calls to Jamaica phone numbers**PSTN\_IN\_RU** — Incoming phone calls to Russia phone numbers**PSTN\_IN\_RU\_TOLLFREE** — Incoming toll-free phone calls to Russia phone numbers**PSTN\_IN\_SC\_AU** — Incoming phone calls to Australia phone numbers**PSTN\_IN\_STAR\_RU** — Incoming phone calls to Russia phone numbers**PSTN\_IN\_TF\_AR** — Incoming toll-free phone calls to Argentina phone numbers**PSTN\_IN\_TF\_AT** — Incoming toll-free phone calls to Austria phone numbers**PSTN\_IN\_TF\_AU** — Incoming toll-free phone calls to Australia phone numbers**PSTN\_IN\_TF\_BE** — Incoming toll-free phone calls to Belgium phone numbers**PSTN\_IN\_TF\_BG** — Incoming toll-free phone calls to Bulgaria phone numbers**PSTN\_IN\_TF\_BH** — Incoming toll-free phone calls to Bahrain phone numbers**PSTN\_IN\_TF\_BR** — Incoming toll-free phone calls to Brazil phone numbers**PSTN\_IN\_TF\_BY** — Incoming toll-free phone calls to Belarus phone numbers**PSTN\_IN\_TF\_CA** — Incoming toll-free phone calls to Canada phone numbers**PSTN\_IN\_TF\_CH** — Incoming toll-free phone calls to Switzerland phone numbers**PSTN\_IN\_TF\_CL** — Incoming toll-free phone calls to Chile phone numbers**PSTN\_IN\_TF\_CO** — Incoming toll-free phone calls to Colombia phone numbers**PSTN\_IN\_TF\_CR** — Incoming toll-free phone calls to Costa Rica phone numbers**PSTN\_IN\_TF\_CY** — Incoming toll-free phone calls to Cyprus phone numbers**PSTN\_IN\_TF\_CZ** — Incoming toll-free phone calls to Czechia phone numbers**PSTN\_IN\_TF\_DE** — Incoming toll-free phone calls to Germany phone numbers**PSTN\_IN\_TF\_DK** — Incoming toll-free phone calls to Denmark phone numbers**PSTN\_IN\_TF\_DO** — Incoming toll-free phone calls to Dominican Republic phone numbers**PSTN\_IN\_TF\_EC** — Incoming toll-free phone calls to Ecuador phone numbers**PSTN\_IN\_TF\_EE** — Incoming toll-free phone calls to Estonia phone numbers**PSTN\_IN\_TF\_EG** — Incoming toll-free phone calls to Egypt phone numbers**PSTN\_IN\_TF\_ES** — Incoming toll-free phone calls to Spain phone numbers**PSTN\_IN\_TF\_FI** — Incoming toll-free phone calls to Finland phone numbers**PSTN\_IN\_TF\_FR** — Incoming toll-free phone calls to France phone numbers**PSTN\_IN\_TF\_GB** — Incoming toll-free phone calls to the United Kingdom phone numbers**PSTN\_IN\_TF\_GF** — Incoming toll-free phone calls to French Guiana phone numbers**PSTN\_IN\_TF\_GP** — Incoming toll-free phone calls to Guadeloupe phone numbers**PSTN\_IN\_TF\_HK** — Incoming toll-free phone calls to Hong Kong phone numbers**PSTN\_IN\_TF\_HR** — Incoming toll-free phone calls to Croatia phone numbers**PSTN\_IN\_TF\_HU** — Incoming toll-free phone calls to Hungary phone numbers**PSTN\_IN\_TF\_ID** — Incoming toll-free phone calls to Indonesia phone numbers**PSTN\_IN\_TF\_IE** — Incoming toll-free phone calls to Ireland phone numbers**PSTN\_IN\_TF\_IL** — Incoming toll-free phone calls to Israel phone numbers**PSTN\_IN\_TF\_IN** — Incoming toll-free phone calls to India phone numbers**PSTN\_IN\_TF\_IS** — Incoming toll-free phone calls to Iceland phone numbers**PSTN\_IN\_TF\_IT** — Incoming toll-free phone calls to Italy phone numbers**PSTN\_IN\_TF\_KE** — Incoming toll-free phone calls to Kenya phone numbers**PSTN\_IN\_TF\_KR** — Incoming toll-free phone calls to South Korea phone numbers**PSTN\_IN\_TF\_KW** — Incoming toll-free phone calls to Kuwait phone numbers**PSTN\_IN\_TF\_KZ** — Incoming toll-free phone calls to Kazakhstan phone numbers**PSTN\_IN\_TF\_LT** — Incoming toll-free phone calls to Lithuania phone numbers**PSTN\_IN\_TF\_LV** — Incoming toll-free phone calls to Latvia phone numbers**PSTN\_IN\_TF\_MC** — Incoming toll-free phone calls to Monaco phone numbers**PSTN\_IN\_TF\_MK** — Incoming toll-free phone calls to North Macedonia phone numbers**PSTN\_IN\_TF\_MQ** — Incoming toll-free phone calls to Martinique phone numbers**PSTN\_IN\_TF\_MT** — Incoming toll-free phone calls to Malta phone numbers**PSTN\_IN\_TF\_MX** — Incoming toll-free phone calls to Mexico phone numbers**PSTN\_IN\_TF\_NL** — Incoming toll-free phone calls to the Netherlands phone numbers**PSTN\_IN\_TF\_NZ** — Incoming toll-free phone calls to New Zealand phone numbers**PSTN\_IN\_TF\_OM** — Incoming toll-free phone calls to Oman phone numbers**PSTN\_IN\_TF\_PA** — Incoming toll-free phone calls to Panama phone numbers**PSTN\_IN\_TF\_PE** — Incoming toll-free phone calls to Peru phone numbers**PSTN\_IN\_TF\_PK** — Incoming toll-free phone calls to Pakistan phone numbers**PSTN\_IN\_TF\_PR** — Incoming toll-free phone calls to Puerto Rico phone numbers**PSTN\_IN\_TF\_QA** — Incoming toll-free phone calls to Qatar phone numbers**PSTN\_IN\_TF\_RE** — Incoming toll-free phone calls to Reunion phone numbers**PSTN\_IN\_TF\_RO** — Incoming toll-free phone calls to Romania phone numbers**PSTN\_IN\_TF\_RS** — Incoming toll-free phone calls to Serbia phone numbers**PSTN\_IN\_TF\_SA** — Incoming toll-free phone calls to Saudi Arabia phone numbers**PSTN\_IN\_TF\_SE** — Incoming toll-free phone calls to Sweden phone numbers**PSTN\_IN\_TF\_SI** — Incoming toll-free phone calls to Slovenia phone numbers**PSTN\_IN\_TF\_SK** — Incoming toll-free phone calls to Slovakia phone numbers**PSTN\_IN\_TF\_TH** — Incoming toll-free phone calls to Thailand phone numbers**PSTN\_IN\_TF\_UA** — Incoming toll-free phone calls to Ukraine phone numbers**PSTN\_IN\_TF\_UG** — Incoming toll-free phone calls to Uganda phone numbers**PSTN\_IN\_TF\_US** — Incoming toll-free phone calls to the United States phone numbers**PSTN\_IN\_TF\_VE** — Incoming toll-free phone calls to Venezuela phone numbers**PSTN\_IN\_TF\_YT** — Incoming toll-free phone calls to Mayotte phone numbers**PSTN\_IN\_TF\_ZA** — Incoming toll-free phone calls to South Africa phone numbers**PSTN\_IN\_US** — Incoming phone calls to the United States phone numbers**PSTN\_INTERNATIONAL** — Outgoing international calls**PSTN\_OUT\_INCOUNTRY** — Outgoing domestic phone calls**PSTN\_OUT\_LOCAL\_RU** — Outgoing domestic phone calls in Russia**PSTNOUT** — Outgoing phone calls**PSTNOUT\_EEA** — Outgoing phone calls to EEA**PSTNOUT\_LOCAL** — Outgoing local phone calls**RELAYED\_TRAFFIC** — TURN server relayed traffic**SIPIN** — Incoming SIP calls**SIPOUT** — Outgoing SIP calls**SIPREFER** — Call transfer via SIP REFER**SMS\_IN\_MOB\_AU** — Incoming SMS to Australia phone numbers**SMS\_IN\_MOB\_BE** — Incoming SMS to Belgium phone numbers**SMS\_IN\_MOB\_BR** — Incoming SMS to Brazil phone numbers**SMS\_IN\_MOB\_CA** — Incoming SMS to Canada phone numbers**SMS\_IN\_MOB\_CL** — Incoming SMS to Chile phone numbers**SMS\_IN\_MOB\_CO** — Incoming SMS to Colombia phone numbers**SMS\_IN\_MOB\_DK** — Incoming SMS to Denmark phone numbers**SMS\_IN\_MOB\_FI** — Incoming SMS to Finland phone numbers**SMS\_IN\_MOB\_FR** — Incoming SMS to France phone numbers**SMS\_IN\_MOB\_GB** — Incoming SMS to the United Kingdom phone numbers**SMS\_IN\_MOB\_HK** — Incoming SMS to Hong Kong phone numbers**SMS\_IN\_MOB\_IL** — Incoming SMS to Israel phone numbers**SMS\_IN\_MOB\_LV** — Incoming SMS to Latvia phone numbers**SMS\_IN\_MOB\_MU** — Incoming SMS to Mauritius phone numbers**SMS\_IN\_MOB\_MX** — Incoming SMS to Mexico phone numbers**SMS\_IN\_MOB\_MY** — Incoming SMS to Malaysia phone numbers**SMS\_IN\_MOB\_NL** — Incoming SMS to the Netherlands phone numbers**SMS\_IN\_MOB\_PE** — Incoming SMS to Peru phone numbers**SMS\_IN\_MOB\_PL** — Incoming SMS to Poland phone numbers**SMS\_IN\_MOB\_PR** — Incoming SMS to Puerto Rico phone numbers**SMS\_IN\_MOB\_PT** — Incoming SMS to Portugal phone numbers**SMS\_IN\_MOB\_RU** — Incoming SMS to Russia phone numbers**SMS\_IN\_MOB\_SE** — Incoming SMS to Sweden phone numbers**SMS\_IN\_MOB\_TH** — Incoming SMS to Thailand phone numbers**SMS\_IN\_MOB\_TR** — Incoming SMS to Turkey phone numbers**SMS\_IN\_MOB\_US** — Incoming SMS to the United States phone numbers**SMSINPUT** — Incoming SMS**SMSOUT** — Outgoing SMS**SMSOUT\_INTERNATIONAL** — International outgoing SMS**SMSOUT\_RU\_INTERNATIONAL** — International outgoing SMS from Russia**TRANSCRIPTION** — Speech transcription**TTS\_CARTESIA** — Text-to-speech by Cartesia**TTS\_ELEVENLABS** — Text-to-speech by ElevenLabs**TTS\_GOOGLE\_REALTIME** — Realtime text-to-speech by Google**TTS\_INWORLD** — Text-to-speech by Inworld**TTS\_TEXT\_CUSTOM\_CREDENTIALS** — Text-to-speech with custom credentials**TTS\_TEXT\_GOOGLE** — Text-to-speech by Google**VIDEOCALL** — Video calls**VIDEOCONFCALL\_IN** — Incoming video conference**VIDEOCONFCALL\_OUT** — Outgoing video conference**VIDEOCONFRECORD** — Video conference recording per minute**VIDEOPARTRECORD** — Video conference member recording per minute**VIDEORECORD** — Video call recording**VOICEMAILDETECTION** — Voicemail detection**VOIPIN** — Incoming VoIP calls**VOIPOUT** — Outgoing VoIP calls**WAB\_VOICE\_IN** — Incoming WhatsApp Business calls**WAB\_VOICE\_OUT\_CONNECTOR** — Outgoing WhatsApp Business calls**WEBSOCKET\_AUDIO** — Audio via WebSockets
- `price_group_id` (list of integer, optional) — The price group ID list separated by semicolons (;)
- `price_group_name` (string, optional, default: all) — The price group name template to filter
- `resource_param` (list of string, optional) — The resource parameter list separated by semicolons (;). Example: a phone number list

## Response

### 200

Successful response

- `result` (list of ResourcePrice, optional) — The resource prices

## Types

### ResourcePrice

The [GetResourcePrice] function result.

- `resource_type` (string, optional) — The resource type name. The possible values are AUDIOHDCONFERENCE, AUDIOHDRECORD, AUDIORECORD, CALLLIST, CALLSESSION, DIALOGFLOW, IM, PSTN_IN_ALASKA, PSTN_IN_GB, PSTN_IN_GEOGRAPHIC, PSTN_IN_GEO_PH, PSTN_IN_RU, PSTN_IN_RU_TOLLFREE, PSTN_INTERNATIONAL, PSTNINTEST, PSTN_IN_TF_AR, PSTN_IN_TF_AT, PSTN_IN_TF_AU, PSTN_IN_TF_BE, PSTN_IN_TF_BR, PSTN_IN_TF_CA, PSTN_IN_TF_CO, PSTN_IN_TF_CY, PSTN_IN_TF_DE, PSTN_IN_TF_DK, PSTN_IN_TF_DO, PSTN_IN_TF_FI, PSTN_IN_TF_FR, PSTN_IN_TF_GB, PSTN_IN_TF_HR, PSTN_IN_TF_HU, PSTN_IN_TF_IL, PSTN_IN_TF_LT, PSTN_IN_TF_PE, PSTN_IN_TF_US, PSTN_IN_US, PSTNOUT, PSTNOUT_EEA, PSTNOUTEMERG, PSTNOUT_KZ, PSTNOUT_LOCAL, PSTN_OUT_LOCAL_RU, RELAYED_TRAFFIC, SIPOUT, SIPOUTVIDEO, SMSINPUT, SMSOUT, SMSOUT_INTERNATIONAL, TRANSCRIPTION, TTS_TEXT_GOOGLE, USER_LOGON, VIDEOCALL, VIDEORECORD, VOICEMAILDETECTION, VOIPIN, VOIPOUT, VOIPOUTVIDEO, ASR, ASR_GOOGLE_ENHANCED
- `price_groups` (list of PriceGroup, optional) — The price group array

### PriceGroup

The resource price group.

- `price_group_name` (string, optional) — The price group name. Example: Russia Mobile
- `price_group_id` (integer, optional) — The price group ID
- `price` (double, optional) — The price for the 'num_resources_per_price' resource count
- `num_resources_per_price` (integer, optional) — The resource count per price
- `quantum` (integer, optional) — The resource rounding quantum
- `params` (ResourceParams, optional) — The available resource parameters
- `quant` (integer, optional)

### ResourceParams

The available resource parameters.

- `allowed` (list of string, optional) — The allowed parameter prefixes. Example: 7495
- `forbidden` (list of string, optional) — The forbidden parameter prefixes. Example: 7800
- `requested` (list of string, optional) — The requested parameters. Example: 79263331122

## Examples

### The result filtered by the 79263332211 phone number

**Response**

```json
{
  "result": [
    {
      "resource_type": "VOIPIN",
      "price_groups": [
        {
          "price_group_name": "Any VoIP in",
          "price_group_id": 1,
          "price": 0.02,
          "num_resources_per_price": 60,
          "quantum": 60,
          "params": {
            "allowed": [
              ""
            ]
          }
        }
      ]
    },
    {
      "resource_type": "VOIPOUT",
      "price_groups": [
        {
          "price_group_name": "VoIP Out",
          "price_group_id": 121,
          "price": 0.02,
          "num_resources_per_price": 60,
          "quantum": 60,
          "params": {
            "allowed": [
              ""
            ]
          }
        }
      ]
    }
  ]
}
```

**SDK Code**

```python The result filtered by the 79263332211 phone number
import requests

url = "https://api.voximplant.com/platform_api/GetResourcePrice"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript The result filtered by the 79263332211 phone number
const url = 'https://api.voximplant.com/platform_api/GetResourcePrice';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go The result filtered by the 79263332211 phone number
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.voximplant.com/platform_api/GetResourcePrice"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby The result filtered by the 79263332211 phone number
require 'uri'
require 'net/http'

url = URI("https://api.voximplant.com/platform_api/GetResourcePrice")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java The result filtered by the 79263332211 phone number
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.voximplant.com/platform_api/GetResourcePrice")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php The result filtered by the 79263332211 phone number
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.voximplant.com/platform_api/GetResourcePrice', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp The result filtered by the 79263332211 phone number
using RestSharp;

var client = new RestClient("https://api.voximplant.com/platform_api/GetResourcePrice");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift The result filtered by the 79263332211 phone number
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.voximplant.com/platform_api/GetResourcePrice")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### The result filtered by the 79263332211 phone number (example2)

**Response**

```json
{
  "result": [
    {
      "resource_type": "PSTNOUT",
      "price_groups": [
        {
          "price_group_name": "Russia Mobile",
          "price_group_id": 20,
          "price": 0.06,
          "num_resources_per_price": 60,
          "params": {
            "allowed": [
              "79"
            ],
            "forbidden": [
              "7954",
              "7997",
              "7940"
            ],
            "requested": [
              "79263332211"
            ]
          },
          "quant": 60
        }
      ]
    }
  ]
}
```

**SDK Code**

```python The result filtered by the 79263332211 phone number (example2)
import requests

url = "https://api.voximplant.com/platform_api/GetResourcePrice"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript The result filtered by the 79263332211 phone number (example2)
const url = 'https://api.voximplant.com/platform_api/GetResourcePrice';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go The result filtered by the 79263332211 phone number (example2)
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.voximplant.com/platform_api/GetResourcePrice"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby The result filtered by the 79263332211 phone number (example2)
require 'uri'
require 'net/http'

url = URI("https://api.voximplant.com/platform_api/GetResourcePrice")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java The result filtered by the 79263332211 phone number (example2)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.voximplant.com/platform_api/GetResourcePrice")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php The result filtered by the 79263332211 phone number (example2)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.voximplant.com/platform_api/GetResourcePrice', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp The result filtered by the 79263332211 phone number (example2)
using RestSharp;

var client = new RestClient("https://api.voximplant.com/platform_api/GetResourcePrice");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift The result filtered by the 79263332211 phone number (example2)
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.voximplant.com/platform_api/GetResourcePrice")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```