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_IF900AK_-_Sample_153218.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"productVideos",
      "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_G901A3K_-_Sample_155723.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultFemale",
      "purpose":"phoneSystems",
      "talentID":"G901A3K",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/G901A3K"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_NSBHB2O_-_Sample_155547.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeFemale",
      "purpose":"radioTvAds",
      "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_HNLAMMS_-_Sample_154889.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultMale",
      "purpose":"radioTvAds",
      "talentID":"HNLAMMS",
      "currency":"USD",
      "price":10,
      "listPrice":10,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/HNLAMMS"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_BH8Q9UC_-_Sample_154050.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultFemale",
      "purpose":"productVideos",
      "talentID":"BH8Q9UC",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/BH8Q9UC"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_91KMIA8_-_Sample_152951.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultFemale",
      "purpose":"productVideos",
      "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_IMU1DR0_-_Sample_154342.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"movieTrailers",
      "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_IBPSL30_-_Sample_155506.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"radioTvAds",
      "talentID":"IBPSL30",
      "currency":"USD",
      "price":12,
      "listPrice":12,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/IBPSL30"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_JC8PAU8_-_Sample_147004.mp3",
      "language":"eng-us",
      "genderAndAge":"youngAdultMale",
      "purpose":"radioTvAds",
      "talentID":"JC8PAU8",
      "currency":"USD",
      "price":34,
      "listPrice":34,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/JC8PAU8"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_PP9TDC8_-_Sample_153272.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"phoneSystems",
      "talentID":"PP9TDC8",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/PP9TDC8"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_2S0BS20_-_Sample_155412.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"videogames",
      "talentID":"2S0BS20",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/2S0BS20"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_DPOOVN4_-_Sample_84663.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"radioTvAds",
      "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_OCGS4HO_-_Sample_155597.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeFemale",
      "purpose":"presentationsEducational",
      "talentID":"OCGS4HO",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/OCGS4HO"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_4S1OEB0_-_Sample_155592.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeFemale",
      "purpose":"phoneSystems",
      "talentID":"4S1OEB0",
      "currency":"USD",
      "price":16,
      "listPrice":16,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/4S1OEB0"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_NRH1UK_-_Sample_131343.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeFemale",
      "purpose":"productVideos",
      "talentID":"NRH1UK",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/NRH1UK"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_682DS5C_-_Sample_144131.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"presentationsEducational",
      "talentID":"682DS5C",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/682DS5C"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_3EK64DS_-_Sample_36476.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeFemale",
      "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_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_1GSRPKK_-_Sample_136722.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"presentationsEducational",
      "talentID":"1GSRPKK",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/1GSRPKK"
    },
    {
      "url":"https:\/\/voicebunny.s3.amazonaws.com\/sample\/VoiceBunny_-_ID_J2A83DO_-_Sample_150335.mp3",
      "language":"eng-us",
      "genderAndAge":"middleAgeMale",
      "purpose":"presentationsEducational",
      "talentID":"J2A83DO",
      "currency":"USD",
      "price":8,
      "listPrice":8,
      "medianSecondsToAcceptBookings":null,
      "bookingURL":"http:\/\/voicebunny.com\/search\/samples\/J2A83DO"
    }
  ],
  "pagination":{
    "totalPages":889,
    "itemsPerPage":20,
    "page":1
  },
  "timestamp":1568710183
}
<?xml version="1.0" encoding="UTF-8"?>
<samples>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_IF900AK_-_Sample_153218.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>productVideos</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_G901A3K_-_Sample_155723.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultFemale</genderAndAge>
    <purpose>phoneSystems</purpose>
    <talentID>G901A3K</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/G901A3K</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_NSBHB2O_-_Sample_155547.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeFemale</genderAndAge>
    <purpose>radioTvAds</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_HNLAMMS_-_Sample_154889.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultMale</genderAndAge>
    <purpose>radioTvAds</purpose>
    <talentID>HNLAMMS</talentID>
    <currency>USD</currency>
    <price>10</price>
    <listPrice>10</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/HNLAMMS</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_BH8Q9UC_-_Sample_154050.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultFemale</genderAndAge>
    <purpose>productVideos</purpose>
    <talentID>BH8Q9UC</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/BH8Q9UC</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_91KMIA8_-_Sample_152951.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultFemale</genderAndAge>
    <purpose>productVideos</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_IMU1DR0_-_Sample_154342.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>movieTrailers</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_IBPSL30_-_Sample_155506.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>radioTvAds</purpose>
    <talentID>IBPSL30</talentID>
    <currency>USD</currency>
    <price>12</price>
    <listPrice>12</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/IBPSL30</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_JC8PAU8_-_Sample_147004.mp3</url>
    <language>eng-us</language>
    <genderAndAge>youngAdultMale</genderAndAge>
    <purpose>radioTvAds</purpose>
    <talentID>JC8PAU8</talentID>
    <currency>USD</currency>
    <price>34</price>
    <listPrice>34</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/JC8PAU8</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_PP9TDC8_-_Sample_153272.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>phoneSystems</purpose>
    <talentID>PP9TDC8</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/PP9TDC8</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_2S0BS20_-_Sample_155412.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>videogames</purpose>
    <talentID>2S0BS20</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/2S0BS20</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_DPOOVN4_-_Sample_84663.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>radioTvAds</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_OCGS4HO_-_Sample_155597.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeFemale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>OCGS4HO</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/OCGS4HO</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_4S1OEB0_-_Sample_155592.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeFemale</genderAndAge>
    <purpose>phoneSystems</purpose>
    <talentID>4S1OEB0</talentID>
    <currency>USD</currency>
    <price>16</price>
    <listPrice>16</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/4S1OEB0</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_NRH1UK_-_Sample_131343.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeFemale</genderAndAge>
    <purpose>productVideos</purpose>
    <talentID>NRH1UK</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/NRH1UK</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_682DS5C_-_Sample_144131.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>682DS5C</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/682DS5C</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_3EK64DS_-_Sample_36476.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeFemale</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_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_1GSRPKK_-_Sample_136722.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>1GSRPKK</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/1GSRPKK</bookingURL>
  </sample>
  <sample>
    <url>https://voicebunny.s3.amazonaws.com/sample/VoiceBunny_-_ID_J2A83DO_-_Sample_150335.mp3</url>
    <language>eng-us</language>
    <genderAndAge>middleAgeMale</genderAndAge>
    <purpose>presentationsEducational</purpose>
    <talentID>J2A83DO</talentID>
    <currency>USD</currency>
    <price>8</price>
    <listPrice>8</listPrice>
    <medianSecondsToAcceptBookings>0</medianSecondsToAcceptBookings>
    <bookingURL>http://voicebunny.com/search/samples/J2A83DO</bookingURL>
  </sample>
  <pagination>
    <totalPages>889</totalPages>
    <itemsPerPage>20</itemsPerPage>
    <page>1</page>
  </pagination>
  <timestamp>1568710184</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