Search samples

Description

Returns a list of voice samples from voice actors that can then be booked using the projects/addBooking method (see quickstart and flowchart).

Arguments

= required
= only one of these is required
NameTypeDescriptionDefault value
language
stringLanguage (and regional accent) of the samples wanted. Valid values can be obtained with the /languages operation.
size20
pageintegerThe number of projects posted by the user is more than itemsPerPage, this argument allows you to get subsequent pages.1
genderAndAgestringGender and age of the samples wanted. Valid values can be obtained with the /genderAndAges operation.
purposestringPurpose of the samples wanted. Valid values can be obtained with the /purposes operation.
unitsintegerUse this argument if you want to get price quotes for each talent returned. This sets the length of the project being quoted.

Response example

{
  "samples":[
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_7JME18_-_Sample_148885.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeFemale",
      "purpose":"productVideos",
      "talentID":"7JME18",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/7JME18"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_IMU1DR0_-_Sample_156076.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"radioTvAds",
      "talentID":"IMU1DR0",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/IMU1DR0"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_1PESE24_-_Sample_156969.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeFemale",
      "purpose":"videogames",
      "talentID":"1PESE24",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/1PESE24"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_B0DJFTK_-_Sample_150364.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"radioTvAds",
      "talentID":"B0DJFTK",
      "currency":"USD",
      "price":9,
      "listPrice":9,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/B0DJFTK"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_NSBHB2O_-_Sample_156355.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeFemale",
      "purpose":"presentationsEducational",
      "talentID":"NSBHB2O",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/NSBHB2O"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_DPOOVN4_-_Sample_157003.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"phoneSystems",
      "talentID":"DPOOVN4",
      "currency":"USD",
      "price":17,
      "listPrice":17,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/DPOOVN4"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_22FS15S_-_Sample_154903.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"productVideos",
      "talentID":"22FS15S",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/22FS15S"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_91KMIA8_-_Sample_147975.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultFemale",
      "purpose":"radioTvAds",
      "talentID":"91KMIA8",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/91KMIA8"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_IOJUT7S_-_Sample_156773.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"radioTvAds",
      "talentID":"IOJUT7S",
      "currency":"USD",
      "price":14,
      "listPrice":14,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/IOJUT7S"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_O6UVSLK_-_Sample_156321.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeFemale",
      "purpose":"radioTvTags",
      "talentID":"O6UVSLK",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/O6UVSLK"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_J6K0VK0_-_Sample_128419.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"radioTvAds",
      "talentID":"J6K0VK0",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/J6K0VK0"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_KE8DMPO_-_Sample_157050.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultFemale",
      "purpose":"presentationsEducational",
      "talentID":"KE8DMPO",
      "currency":"USD",
      "price":9,
      "listPrice":9,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/KE8DMPO"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_2TQGEC4_-_Sample_148719.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultMale",
      "purpose":"productVideos",
      "talentID":"2TQGEC4",
      "currency":"USD",
      "price":9,
      "listPrice":9,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/2TQGEC4"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_3EK64DS_-_Sample_151720.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultFemale",
      "purpose":"presentationsEducational",
      "talentID":"3EK64DS",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/3EK64DS"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_3P8VLFS_-_Sample_151858.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"presentationsEducational",
      "talentID":"3P8VLFS",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/3P8VLFS"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_IF900AK_-_Sample_149514.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"presentationsEducational",
      "talentID":"IF900AK",
      "currency":"USD",
      "price":12,
      "listPrice":12,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/IF900AK"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_IB6AAFO_-_Sample_156473.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultFemale",
      "purpose":"presentationsEducational",
      "talentID":"IB6AAFO",
      "currency":"USD",
      "price":40,
      "listPrice":40,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/IB6AAFO"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_JEVT45G_-_Sample_154727.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"phoneSystems",
      "talentID":"JEVT45G",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/JEVT45G"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_926TTEC_-_Sample_145408.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultMale",
      "purpose":"productVideos",
      "talentID":"926TTEC",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/926TTEC"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_DF4BNKS_-_Sample_148040.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeFemale",
      "purpose":"presentationsEducational",
      "talentID":"DF4BNKS",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/DF4BNKS"
    }
  ],
  "pagination":{
    "totalPages":883,
    "itemsPerPage":20,
    "page":1
  },
  "timestamp":1571317505
}
<?xml version="1.0" encoding="UTF-8"?>
<samples>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_7JME18_-_Sample_148885.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeFemale</genderAndAge>
    <purpose>productVideos</purpose>
    <talentID>7JME18</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/7JME18</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_IMU1DR0_-_Sample_156076.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>radioTvAds</purpose>
    <talentID>IMU1DR0</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/IMU1DR0</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_1PESE24_-_Sample_156969.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeFemale</genderAndAge>
    <purpose>videogames</purpose>
    <talentID>1PESE24</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/1PESE24</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_B0DJFTK_-_Sample_150364.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>radioTvAds</purpose>
    <talentID>B0DJFTK</talentID>
    <currency>USD</currency>
    <price>9</price>
    <listPrice>9</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/B0DJFTK</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_NSBHB2O_-_Sample_156355.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeFemale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>NSBHB2O</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/NSBHB2O</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_DPOOVN4_-_Sample_157003.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>phoneSystems</purpose>
    <talentID>DPOOVN4</talentID>
    <currency>USD</currency>
    <price>17</price>
    <listPrice>17</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/DPOOVN4</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_22FS15S_-_Sample_154903.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>productVideos</purpose>
    <talentID>22FS15S</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/22FS15S</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_91KMIA8_-_Sample_147975.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultFemale</genderAndAge>
    <purpose>radioTvAds</purpose>
    <talentID>91KMIA8</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/91KMIA8</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_IOJUT7S_-_Sample_156773.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>radioTvAds</purpose>
    <talentID>IOJUT7S</talentID>
    <currency>USD</currency>
    <price>14</price>
    <listPrice>14</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/IOJUT7S</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_O6UVSLK_-_Sample_156321.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeFemale</genderAndAge>
    <purpose>radioTvTags</purpose>
    <talentID>O6UVSLK</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/O6UVSLK</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_J6K0VK0_-_Sample_128419.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>radioTvAds</purpose>
    <talentID>J6K0VK0</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/J6K0VK0</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_KE8DMPO_-_Sample_157050.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultFemale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>KE8DMPO</talentID>
    <currency>USD</currency>
    <price>9</price>
    <listPrice>9</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/KE8DMPO</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_2TQGEC4_-_Sample_148719.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultMale</genderAndAge>
    <purpose>productVideos</purpose>
    <talentID>2TQGEC4</talentID>
    <currency>USD</currency>
    <price>9</price>
    <listPrice>9</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/2TQGEC4</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_3EK64DS_-_Sample_151720.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultFemale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>3EK64DS</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/3EK64DS</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_3P8VLFS_-_Sample_151858.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>3P8VLFS</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/3P8VLFS</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_IF900AK_-_Sample_149514.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>IF900AK</talentID>
    <currency>USD</currency>
    <price>12</price>
    <listPrice>12</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/IF900AK</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_IB6AAFO_-_Sample_156473.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultFemale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>IB6AAFO</talentID>
    <currency>USD</currency>
    <price>40</price>
    <listPrice>40</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/IB6AAFO</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_JEVT45G_-_Sample_154727.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>phoneSystems</purpose>
    <talentID>JEVT45G</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/JEVT45G</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_926TTEC_-_Sample_145408.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultMale</genderAndAge>
    <purpose>productVideos</purpose>
    <talentID>926TTEC</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/926TTEC</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_DF4BNKS_-_Sample_148040.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeFemale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>DF4BNKS</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/DF4BNKS</bookingURL>
  </sample>
  <pagination>
    <totalPages>883</totalPages>
    <itemsPerPage>20</itemsPerPage>
    <page>1</page>
  </pagination>
  <timestamp>1571317505</timestamp>
</samples>

Errors

  • 7008: The "language" argument is not valid. You can get the list of available languages and accents using the API operation /languages.
  • 7009: The "genderAndAge" argument is not valid. You can get the list of available gender and ages using the API operation /genderAndAges.
  • 7016: The "purpose" argument is not valid. You can get the list of available read purposes using the API operation /purposes.

Code example

@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.5.2' )
import groovyx.net.http.*
import groovy.json.*
import static groovyx.net.http.ContentType.*
import static groovyx.net.http.Method.*
data = [
    language: 'eng-us',
    genderAndAge: 'youngAdultAnyGender',
    purpose: 'corporate',
    size: '30',
    page: '2'
]
http = new HTTPBuilder('https://api.voicebunny.com')
http.handler.success = {response, json -> return json}
http.handler.failure = {response, json -> throw new RuntimeException(json.error.code + ' ' + json.error.message)}
def voicebunnyUser = 'xxXXxx'
def voicebunnyToken = 'xxxxXXXXxxxxXXXX'
http.auth.basic voicebunnyUser, voicebunnyToken
def samples = http.post(path: 'samples/search', body: data, requestContentType: URLENC)
import requests
import simplejson
from requests.auth import HTTPBasicAuth
url = 'https://api.voicebunny.com'
api_id = 'XX'
api_key = 'xxxxXXXXxxxxXXXX'
req = requests.post(url+'/samples/search',
    data={
        'language': 'eng-us',
        'genderAndAge': 'youngAdultAnyGender',
        'purpose': 'corporate',
        'size': '30',
        'page': '2',
    },
    auth=HTTPBasicAuth(api_id, api_key),verify=False)
data = simplejson.loads(req.text)
response = data['samples']
'require 'faraday'
require 'faraday_middleware'
@conn = nil
@api_id = 'XX'
@api_key = 'xxxxXXXXxxxxXXXX'
resp = nil
@conn = Faraday.new(:url =>('https://'+ @api_id+':'+@api_key +'@api.voicebunny.com'),:ssl => {:verify => false}) do |builder|
    builder.use Faraday::Request::Multipart
    builder.use Faraday::Request::UrlEncoded
    builder.use Faraday::Response::ParseJson
    builder.use Faraday::Adapter::NetHttp
end
resp = @conn.post '/samples/search.json', {
    language: 'eng-us',
    genderAndAge: 'youngAdultAnyGender',
    purpose: 'corporate',
    size: '30',
    page: '2'
}
resp.body