Get job competition
curl --request GET \
--url https://api.vollna.com/v1/projects/{id}/competition \
--header 'X-API-TOKEN: <api-key>'import requests
url = "https://api.vollna.com/v1/projects/{id}/competition"
headers = {"X-API-TOKEN": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-TOKEN': '<api-key>'}};
fetch('https://api.vollna.com/v1/projects/{id}/competition', 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/projects/{id}/competition",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.vollna.com/v1/projects/{id}/competition"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-TOKEN", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vollna.com/v1/projects/{id}/competition")
.header("X-API-TOKEN", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vollna.com/v1/projects/{id}/competition")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-TOKEN"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"job": {
"projectId": 123,
"title": "<string>",
"url": "<string>",
"publishedAt": "2023-11-07T05:31:56Z"
},
"snapshots": [
{
"dayOffset": 123,
"capturedAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"applicants": 123,
"invitedToInterview": 123,
"hired": 123,
"invitationsSent": 123,
"positions": 123
}
],
"applicantsDay1": 123,
"niche": {
"available": true,
"reason": "<string>",
"jobs": 123,
"avgApplicants": 123,
"interviewRatePct": 123,
"fillRatePct": 123,
"difficulty": 50,
"crowding": 123,
"odds": 123,
"reliability": 123,
"categoryIds": [
123
]
}
}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}Projects
Get job competition
Returns the competition on one job you sent a proposal to: applicants, interviews and hires 1, 4 and 14 days after posting, next to the niche of the job’s categories. Counts against the daily niche_difficulty cap
GET
/
projects
/
{id}
/
competition
Get job competition
curl --request GET \
--url https://api.vollna.com/v1/projects/{id}/competition \
--header 'X-API-TOKEN: <api-key>'import requests
url = "https://api.vollna.com/v1/projects/{id}/competition"
headers = {"X-API-TOKEN": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-TOKEN': '<api-key>'}};
fetch('https://api.vollna.com/v1/projects/{id}/competition', 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/projects/{id}/competition",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.vollna.com/v1/projects/{id}/competition"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-TOKEN", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vollna.com/v1/projects/{id}/competition")
.header("X-API-TOKEN", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vollna.com/v1/projects/{id}/competition")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-TOKEN"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"job": {
"projectId": 123,
"title": "<string>",
"url": "<string>",
"publishedAt": "2023-11-07T05:31:56Z"
},
"snapshots": [
{
"dayOffset": 123,
"capturedAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"applicants": 123,
"invitedToInterview": 123,
"hired": 123,
"invitationsSent": 123,
"positions": 123
}
],
"applicantsDay1": 123,
"niche": {
"available": true,
"reason": "<string>",
"jobs": 123,
"avgApplicants": 123,
"interviewRatePct": 123,
"fillRatePct": 123,
"difficulty": 50,
"crowding": 123,
"odds": 123,
"reliability": 123,
"categoryIds": [
123
]
}
}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}Was this page helpful?