{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"eb4b580d-925f-47d4-91d9-6619076f3d69","name":"Freelancehunt API 2.0","description":"This is a guide to help developers use Freelancehunt Authentication, which enables your application to take actions on behalf of a Freelancehunt account or access certain data about a user’s account.\n\n# Authentication\nAPI requests requires authentication.\n\n1. Getting a token. Visit [Apps and API](https://freelancehunt.com/my/api2) page and generate API key.\n\n2. Sending the token. Send generated token as a header:\n```\ncurl -H \"Authorization: Bearer {{token}}\" https://api.freelancehunt.com/v2/my/profile\n```\n**Note**: double curly braces must be removed in real requests, they're only useful in Postman for environment variables usage.\n\n# Supported currencies\n\nAllowed values for currency code in any request or response is `UAH` and `RUB`, unless endpoint description states otherwise.\n\n\n# Requests\n\n## Language\n\nAdd `Accept-Language` HTTP header to setup response language. Default language is English.\n\nSupported languages:\n\n- `ru` - Russian\n- `uk` - Ukrainian\n- `en` - English\n\n------\n\n## Pagination\n\nPagination must be used only in the GET requests as `page` parameter. Example: `/projects?page[number]=2`\n\n------\n\n## Filters\n\nFilters must be used only in the GET requests as `filter` paramteter. Example: `/projects?filter[employer_id]=4`\n\nThe list of available filters will be written for each endpoint.\n\n------\n\n# Responses\n\n## Success response\n\nSuccess responses must contain `data` and `links` objects and may contain `meta` object.\n\n`data` object may be a collection of objects, object or `null`.\n\n`links` object must contain `self` key with requested endpoint and may cointain pagination keys: `next`, `last`, `prev`, `first`.\n\n`meta` object may contain any additional information (specific relationships, etc.).\n\nIf `data` contains single object  - it must contain keys: `id`, `type`, `attributes` and may contain `links`.\n\n------\n\n### Examples:\n\n------\n\n#### Single entity:\n\n```\n{\n    \"data\": {\n        \"id\": 72444,\n        \"type\": \"review\",\n        \"attributes\": {\n            \"published_at\": \"2018-04-11T14:20:13+03:00\",\n            \"comment\": \"Good employer.\",\n            \"grades\": {\n                \"connectivity\": 10,\n                \"definition\": 10,\n                \"pay\": 10,\n                \"requirements\": 10,\n                \"total\": 10\n            },\n            \"from\": {\n                \"id\": 5725,\n                \"type\": \"freelancer\",\n                \"login\": \"freelancer_login\",\n                \"first_name\": \"Firstname\",\n                \"last_name\": \"L.\",\n                \"avatar\": {\n                    \"small\": {\n                        \"url\": \"https://content.freelancehunt.com/profile/photo/50/freelancer_login.png\",\n                        \"width\": 50,\n                        \"height\": 50\n                    },\n                    \"large\": {\n                        \"url\": \"https://content.freelancehunt.com/profile/photo/225/freelancer_login.png\",\n                        \"width\": 255,\n                        \"height\": 255\n                    }\n                },\n                \"self\": \"https://api.freelancehunt.com/v2/freelancers/5725\"\n            },\n            \"project\": {\n                \"id\": 299170,\n                \"type\": \"project\",\n                \"name\": \"High-budget project 1\",\n                \"status\": {\n                    \"id\": 21,\n                    \"name\": \"Проект завершен\"\n                },\n                \"safe_type\": \"employer_cashless\",\n                \"budget\": {\n                    \"amount\": 91000,\n                    \"currency\": \"UAH\"\n                },\n                \"self\": \"https://api.freelancehunt.com/v2/projects/299170\"\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://api.freelancehunt.com/v2/employers/4/reviews/72444\"\n    }\n}\n```\n\n#### Collection of entities:\n\n```\n{\n    \"data\": [\n        {\n            \"id\": 72444,\n            \"type\": \"review\",\n            \"attributes\": {\n                \"published_at\": \"2018-04-11T14:20:13+03:00\",\n                \"comment\": \"Good employer.\",\n                \"grades\": {\n                    \"connectivity\": 10,\n                    \"definition\": 10,\n                    \"pay\": 10,\n                    \"requirements\": 10,\n                    \"total\": 10\n                },\n                \"from\": {\n                    \"id\": 5725,\n                    \"type\": \"freelancer\",\n                    \"login\": \"freelancer_login\",\n                    \"first_name\": \"Firstname\",\n                    \"last_name\": \"L.\",\n                    \"avatar\": {\n                        \"small\": {\n                            \"url\": \"https://content.freelancehunt.com/profile/photo/50/freelancer_login.png\",\n                            \"width\": 50,\n                            \"height\": 50\n                        },\n                        \"large\": {\n                            \"url\": \"https://content.freelancehunt.com/profile/photo/225/freelancer_login.png\",\n                            \"width\": 255,\n                            \"height\": 255\n                        }\n                    },\n                    \"self\": \"https://api.freelancehunt.com/v2/freelancers/5725\"\n                },\n                \"project\": {\n                    \"id\": 299170,\n                    \"type\": \"project\",\n                    \"name\": \"High-budget project 1\",\n                    \"status\": {\n                        \"id\": 21,\n                        \"name\": \"Проект завершен\"\n                    },\n                    \"safe_type\": \"employer_cashless\",\n                    \"budget\": {\n                        \"amount\": 91000,\n                        \"currency\": \"UAH\"\n                    },\n                    \"self\": \"https://api.freelancehunt.com/v2/projects/299170\"\n                }\n            }\n        },\n        ...\n        {\n            \"id\": 72164,\n            \"type\": \"review\",\n            \"attributes\": {\n                \"published_at\": \"2017-01-10T14:11:25+13:00\",\n                \"comment\": \"Best employer ever.\",\n                \"grades\": {\n                    \"connectivity\": 10,\n                    \"definition\": 10,\n                    \"pay\": 10,\n                    \"requirements\": 10,\n                    \"total\": 10\n                },\n                \"from\": {\n                    \"id\": 5725,\n                    \"type\": \"freelancer\",\n                    \"login\": \"freelancer_login\",\n                    \"first_name\": \"Firstname\",\n                    \"last_name\": \"L.\",\n                    \"avatar\": {\n                        \"small\": {\n                            \"url\": \"https://content.freelancehunt.com/profile/photo/50/freelancer_login.png\",\n                            \"width\": 50,\n                            \"height\": 50\n                        },\n                        \"large\": {\n                            \"url\": \"https://content.freelancehunt.com/profile/photo/225/freelancer_login.png\",\n                            \"width\": 255,\n                            \"height\": 255\n                        }\n                    },\n                    \"self\": \"https://api.freelancehunt.com/v2/freelancers/5725\"\n                },\n                \"project\": {\n                    \"id\": 299175,\n                    \"type\": \"project\",\n                    \"name\": \"High-budget project 2\",\n                    \"status\": {\n                        \"id\": 21,\n                        \"name\": \"Проект завершен\"\n                    },\n                    \"safe_type\": \"employer_cashless\",\n                    \"budget\": {\n                        \"amount\": 80000,\n                        \"currency\": \"UAH\"\n                    },\n                    \"self\": \"https://api.freelancehunt.com/v2/projects/299170\"\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://api.freelancehunt.com/v2/my/reviews\",\n        \"next\": \"https://api.freelancehunt.com/v2/my/reviews?page[number]=2\",\n        \"last\": \"https://api.freelancehunt.com/v2/my/reviews?page[number]=10\"\n    }\n}\n```\n\n#### Static data:\n\n```\n{\n    \"data\": [\n        {\n            \"id\": 56,\n            \"name\": \"1C\"\n        },\n        ...\n        {\n            \"id\": 59,\n            \"name\": \"3D graphics\"\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://api.freelancehunt.com/v2/skills\"\n    }\n}\n```\n\n------\n\n## Error response\n\nError responses must contain `error` object with required keys: `status`, `title` and optional keys: `detail`, `meta`.\n\nExamples:\n```\n{\n    \"error\": {\n        \"status\": 404,\n        \"title\": \"Not Found\"\n    }\n}\n```\n\n```\n\n{\n    \"error\": {\n        \"status\": 422,\n        \"title\": \"Unprocessable Entity\",\n        \"detail\": \"Validation failed\",\n        \"meta\": {\n            \"info\": {\n                \"skills\": [\n                    \"Required field\"\n                ]\n            }\n        }\n    }\n}\n```\n\n# Rate limiting\n\nTo prevent our API from being overwhelmed by too many requests, Freelancehunt rate-limits requests.\n\nThe limit is across all Freelancehunt API queries. If this limit is exceeded, an error is returned: HTTP 429 (Too Many Requests).\n\nWhen you make an API request, you will receive a set of rate-limiting headers to help your application respond appropriately. The headers are:\n\n- `X-Ratelimit-Limit` — This is the average number of requests you can make over an extended period of time.\n- `X-Ratelimit-Remaining` — The number of points you have left to use.\n\nIndividual endpoints may have additional rate limits, with additional headers to describe those limits. For details, see the documentation for each endpoint.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"3971751","collectionId":"eb4b580d-925f-47d4-91d9-6619076f3d69","publishedId":"S1Lzy7WU","public":true,"publicUrl":"https://apidocs.freelancehunt.com","privateUrl":"https://go.postman.co/documentation/3971751-eb4b580d-925f-47d4-91d9-6619076f3d69","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FFBB33"},"documentationLayout":"classic-double-column","version":"8.10.1","publishDate":"2019-08-19T09:02:42.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"Production","id":"94496d4d-7a66-4b60-b4de-da12684f922f","owner":"3312925","values":[{"value":"https://api.freelancehunt.com","key":"api_url","enabled":true},{"value":"9876543212","key":"person_inn","enabled":true}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/768118b36f06c94b0306958b980558e6915839447e859fe16906e29d683976f0","favicon":"https://freelancehunt.com/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Production","value":"3312925-94496d4d-7a66-4b60-b4de-da12684f922f"}],"canonicalUrl":"https://apidocs.freelancehunt.com/view/metadata/S1Lzy7WU"}