Save search
curl --request POST \
--url https://api.vollna.com/v1/market-insights/searches \
--header 'Content-Type: application/json' \
--header 'X-API-TOKEN: <api-key>' \
--data '
{
"title": "<string>",
"criteria": {
"keywords": "<string>",
"categoryIds": [
123
],
"hourlyRateMin": 123,
"hourlyRateMax": 123,
"fixedBudgetMin": 123,
"fixedBudgetMax": 123,
"experienceLevels": [],
"verifiedOnly": true,
"searchIn": []
},
"filterId": 123
}
'import requests
url = "https://api.vollna.com/v1/market-insights/searches"
payload = {
"title": "<string>",
"criteria": {
"keywords": "<string>",
"categoryIds": [123],
"hourlyRateMin": 123,
"hourlyRateMax": 123,
"fixedBudgetMin": 123,
"fixedBudgetMax": 123,
"experienceLevels": [],
"verifiedOnly": True,
"searchIn": []
},
"filterId": 123
}
headers = {
"X-API-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
criteria: {
keywords: '<string>',
categoryIds: [123],
hourlyRateMin: 123,
hourlyRateMax: 123,
fixedBudgetMin: 123,
fixedBudgetMax: 123,
experienceLevels: [],
verifiedOnly: true,
searchIn: []
},
filterId: 123
})
};
fetch('https://api.vollna.com/v1/market-insights/searches', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vollna.com/v1/market-insights/searches",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'criteria' => [
'keywords' => '<string>',
'categoryIds' => [
123
],
'hourlyRateMin' => 123,
'hourlyRateMax' => 123,
'fixedBudgetMin' => 123,
'fixedBudgetMax' => 123,
'experienceLevels' => [
],
'verifiedOnly' => true,
'searchIn' => [
]
],
'filterId' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-TOKEN: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.vollna.com/v1/market-insights/searches"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"criteria\": {\n \"keywords\": \"<string>\",\n \"categoryIds\": [\n 123\n ],\n \"hourlyRateMin\": 123,\n \"hourlyRateMax\": 123,\n \"fixedBudgetMin\": 123,\n \"fixedBudgetMax\": 123,\n \"experienceLevels\": [],\n \"verifiedOnly\": true,\n \"searchIn\": []\n },\n \"filterId\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-TOKEN", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.vollna.com/v1/market-insights/searches")
.header("X-API-TOKEN", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"criteria\": {\n \"keywords\": \"<string>\",\n \"categoryIds\": [\n 123\n ],\n \"hourlyRateMin\": 123,\n \"hourlyRateMax\": 123,\n \"fixedBudgetMin\": 123,\n \"fixedBudgetMax\": 123,\n \"experienceLevels\": [],\n \"verifiedOnly\": true,\n \"searchIn\": []\n },\n \"filterId\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vollna.com/v1/market-insights/searches")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-TOKEN"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"criteria\": {\n \"keywords\": \"<string>\",\n \"categoryIds\": [\n 123\n ],\n \"hourlyRateMin\": 123,\n \"hourlyRateMax\": 123,\n \"fixedBudgetMin\": 123,\n \"fixedBudgetMax\": 123,\n \"experienceLevels\": [],\n \"verifiedOnly\": true,\n \"searchIn\": []\n },\n \"filterId\": 123\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": 123,
"title": "<string>",
"criteria": {
"keywords": "<string>",
"categoryIds": [
123
],
"hourlyRateMin": 123,
"hourlyRateMax": 123,
"fixedBudgetMin": 123,
"fixedBudgetMax": 123,
"experienceLevels": [
1
],
"verifiedOnly": true,
"searchIn": [
"title"
]
},
"filterId": 123
}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}Market Insights
Save search
Saves a Market Insights search for the team owner, up to 20. A filterId the owner cannot see is dropped and the search covers the whole market
POST
/
market-insights
/
searches
Save search
curl --request POST \
--url https://api.vollna.com/v1/market-insights/searches \
--header 'Content-Type: application/json' \
--header 'X-API-TOKEN: <api-key>' \
--data '
{
"title": "<string>",
"criteria": {
"keywords": "<string>",
"categoryIds": [
123
],
"hourlyRateMin": 123,
"hourlyRateMax": 123,
"fixedBudgetMin": 123,
"fixedBudgetMax": 123,
"experienceLevels": [],
"verifiedOnly": true,
"searchIn": []
},
"filterId": 123
}
'import requests
url = "https://api.vollna.com/v1/market-insights/searches"
payload = {
"title": "<string>",
"criteria": {
"keywords": "<string>",
"categoryIds": [123],
"hourlyRateMin": 123,
"hourlyRateMax": 123,
"fixedBudgetMin": 123,
"fixedBudgetMax": 123,
"experienceLevels": [],
"verifiedOnly": True,
"searchIn": []
},
"filterId": 123
}
headers = {
"X-API-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
criteria: {
keywords: '<string>',
categoryIds: [123],
hourlyRateMin: 123,
hourlyRateMax: 123,
fixedBudgetMin: 123,
fixedBudgetMax: 123,
experienceLevels: [],
verifiedOnly: true,
searchIn: []
},
filterId: 123
})
};
fetch('https://api.vollna.com/v1/market-insights/searches', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vollna.com/v1/market-insights/searches",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'criteria' => [
'keywords' => '<string>',
'categoryIds' => [
123
],
'hourlyRateMin' => 123,
'hourlyRateMax' => 123,
'fixedBudgetMin' => 123,
'fixedBudgetMax' => 123,
'experienceLevels' => [
],
'verifiedOnly' => true,
'searchIn' => [
]
],
'filterId' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-TOKEN: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.vollna.com/v1/market-insights/searches"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"criteria\": {\n \"keywords\": \"<string>\",\n \"categoryIds\": [\n 123\n ],\n \"hourlyRateMin\": 123,\n \"hourlyRateMax\": 123,\n \"fixedBudgetMin\": 123,\n \"fixedBudgetMax\": 123,\n \"experienceLevels\": [],\n \"verifiedOnly\": true,\n \"searchIn\": []\n },\n \"filterId\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-TOKEN", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.vollna.com/v1/market-insights/searches")
.header("X-API-TOKEN", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"criteria\": {\n \"keywords\": \"<string>\",\n \"categoryIds\": [\n 123\n ],\n \"hourlyRateMin\": 123,\n \"hourlyRateMax\": 123,\n \"fixedBudgetMin\": 123,\n \"fixedBudgetMax\": 123,\n \"experienceLevels\": [],\n \"verifiedOnly\": true,\n \"searchIn\": []\n },\n \"filterId\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vollna.com/v1/market-insights/searches")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-TOKEN"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"criteria\": {\n \"keywords\": \"<string>\",\n \"categoryIds\": [\n 123\n ],\n \"hourlyRateMin\": 123,\n \"hourlyRateMax\": 123,\n \"fixedBudgetMin\": 123,\n \"fixedBudgetMax\": 123,\n \"experienceLevels\": [],\n \"verifiedOnly\": true,\n \"searchIn\": []\n },\n \"filterId\": 123\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": 123,
"title": "<string>",
"criteria": {
"keywords": "<string>",
"categoryIds": [
123
],
"hourlyRateMin": 123,
"hourlyRateMax": 123,
"fixedBudgetMin": 123,
"fixedBudgetMax": 123,
"experienceLevels": [
1
],
"verifiedOnly": true,
"searchIn": [
"title"
]
},
"filterId": 123
}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}Was this page helpful?