{"openapi":"3.0.0","info":{"title":"Freelancer Jobs Profiles and Contests","version":"1.0.0","description":"Freelancer.com public projects, budgets, skills, freelancer profiles, contests and services worldwide, one row per entity."},"servers":[{"url":"https://ah-freelancer-com.opendata.best/s/freelancer-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search Freelancer.com projects and services","description":"Public Freelancer projects (with optional bid rows) or services filtered by skills or keywords.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["auto","jobs","services"],"description":"Mode. Auto picks the mode from what you fill in: usernames run as public profiles, skills or keywords run as job search. Pick a mode to collect freelancers, contests, or services instead.","default":"auto"},"skills":{"type":"array","items":{"type":"string"},"description":"Skills or search keywords. Enter skills or search phrases such as python or logo design; each has its own maxResults allowance. Required for freelancers; optional for jobs and services; ignored for contests.","example":["python"]},"projectTypes":{"type":"array","items":{"type":"string"},"description":"Project types. In jobs mode, use fixed for fixed-price projects or hourly for hourly projects. Leave empty to include both."},"scrapeDetails":{"type":"boolean","description":"Scrape detail pages. Add available contest details and service seller information, up to maxDetailItems. This can make the request take longer.","default":true},"maxDetailItems":{"type":"integer","minimum":0,"maximum":50,"description":"Maximum detail pages. Limit contest details, directory profile enrichment, and service seller enrichment. Also limits the number of parent rows eligible for bids or entries; 0 disables those additions.","default":5},"enrichProfiles":{"type":"boolean","description":"Enrich profiles. Add available public profile fields to freelancer directory rows and seller information to service rows. Limited by maxDetailItems.","default":true},"expandPools":{"type":"boolean","description":"Include related skills. Jobs only: extend a skill search to related skill categories after the narrower searches. Results can include neighbouring skills.","default":false},"includeBids":{"type":"boolean","description":"Include bids as rows. Jobs mode only: return public bids as separate billed rows. Parent and bid rows share maxResults for that skill or keyword. Default off.","default":false,"example":false},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"skills":["python"],"scrapeDetails":false,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/freelancers":{"post":{"operationId":"freelancers","summary":"Freelancer directory and public profiles","description":"Public freelancer profiles from directory skill search or explicit Freelancer.com usernames.","tags":["freelancers"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["freelancers","profiles"],"description":"Mode. Auto picks the mode from what you fill in: usernames run as public profiles, skills or keywords run as job search. Pick a mode to collect freelancers, contests, or services instead.","default":"freelancers"},"skills":{"type":"array","items":{"type":"string"},"description":"Skills or search keywords. Enter skills or search phrases such as python or logo design; each has its own maxResults allowance. Required for freelancers; optional for jobs and services; ignored for contests.","example":["python"]},"usernames":{"type":"array","items":{"type":"string"},"description":"Profile usernames. Public Freelancer.com usernames (the name in freelancer.com/u/<username>). Filling this runs public profiles. Each username gets its own maxResults row allowance."},"maxPages":{"type":"integer","minimum":1,"maximum":50,"description":"Maximum pages. Maximum directory pages to visit in freelancers mode. Use maxResults to limit delivered rows in every mode.","default":1},"enrichProfiles":{"type":"boolean","description":"Enrich profiles. Add available public profile fields to freelancer directory rows and seller information to service rows. Limited by maxDetailItems.","default":true},"maxDetailItems":{"type":"integer","minimum":0,"maximum":50,"description":"Maximum detail pages. Limit contest details, directory profile enrichment, and service seller enrichment. Also limits the number of parent rows eligible for bids or entries; 0 disables those additions.","default":5},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"mode":"freelancers","skills":["python"],"enrichProfiles":false,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/contests":{"post":{"operationId":"contests","summary":"Public Freelancer.com contests and entries","description":"Public contest listings and optional contest entry rows. Fixed for this endpoint: mode=\"contests\".","tags":["contests"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"scrapeDetails":{"type":"boolean","description":"Scrape detail pages. Add available contest details and service seller information, up to maxDetailItems. This can make the request take longer.","default":true},"maxDetailItems":{"type":"integer","minimum":0,"maximum":50,"description":"Maximum detail pages. Limit contest details, directory profile enrichment, and service seller enrichment. Also limits the number of parent rows eligible for bids or entries; 0 disables those additions.","default":5},"includeEntries":{"type":"boolean","description":"Include contest entries as rows. Contests mode only: return public entries as separate billed rows. Parent and entry rows share maxResults for that input. Default off.","default":false,"example":false},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"scrapeDetails":false,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"recordType":{"type":"string","enum":["job","project","bid","entry","freelancer","profile","contest","platform","service"]},"id":{"type":"string"},"title":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"projectUrl":{"nullable":true,"type":"string"},"contestUrl":{"nullable":true,"type":"string"},"profileUrl":{"nullable":true,"type":"string"},"username":{"nullable":true,"type":"string"},"displayName":{"nullable":true,"type":"string"},"skills":{"type":"array","items":{"type":"string"}},"projectType":{"nullable":true,"type":"string"},"budget":{"nullable":true},"budgetRange":{"nullable":true,"type":"string"},"bidCount":{"nullable":true},"avgBid":{"nullable":true},"daysLeft":{"nullable":true},"verified":{"nullable":true,"type":"boolean"},"isHourly":{"nullable":true,"type":"boolean"},"skillQuery":{"nullable":true,"type":"string"},"page":{"nullable":true,"type":"integer"},"resultTotalText":{"nullable":true,"type":"string"},"score":{"nullable":true},"reviewCount":{"nullable":true},"hourlyRate":{"nullable":true},"hourlyRateAmount":{"nullable":true,"type":"number"},"location":{"nullable":true,"type":"string"},"joinedAt":{"nullable":true,"type":"string"},"recommendations":{"nullable":true},"portfolioCount":{"nullable":true,"type":"integer"},"postedAgo":{"nullable":true,"type":"string"},"endsIn":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"projectId":{"nullable":true},"clientLocation":{"nullable":true,"type":"string"},"clientLocality":{"nullable":true,"type":"string"},"clientCountry":{"nullable":true,"type":"string"},"userId":{"nullable":true},"publicName":{"nullable":true,"type":"string"},"company":{"nullable":true,"type":"string"},"profileRole":{"nullable":true,"type":"string"},"emailVerified":{"nullable":true,"type":"boolean"},"phoneVerified":{"nullable":true,"type":"boolean"},"profileClosed":{"nullable":true,"type":"boolean"},"phones":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"type":{"nullable":true,"type":"string"},"e164":{"nullable":true,"type":"string"}},"additionalProperties":true}},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"type":{"nullable":true,"type":"string"}},"additionalProperties":true}},"address":{"nullable":true,"type":"object","properties":{"street":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"locality":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"postalCode":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"full":{"nullable":true,"type":"string"}},"additionalProperties":true},"geo":{"nullable":true,"type":"object","properties":{"lat":{"nullable":true},"lng":{"nullable":true}},"additionalProperties":true},"person":{"nullable":true,"type":"object","properties":{"name":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"}},"additionalProperties":true},"org":{"nullable":true,"type":"object","properties":{"name":{"nullable":true,"type":"string"},"id":{"nullable":true}},"additionalProperties":true},"web":{"nullable":true,"type":"object","properties":{"website":{"nullable":true,"type":"string"},"socials":{"type":"array","items":{}}},"additionalProperties":true},"leadSource":{"nullable":true,"type":"string","enum":["search","detail","entity","contact","reveal-xhr"]},"leadReveal":{"nullable":true,"type":"string","enum":["visible","click","xhr","gated","image","absent"]},"leadAbsences":{"nullable":true,"type":"object","additionalProperties":{"type":"string"}},"scrapedAt":{"type":"string"},"serviceId":{"nullable":true},"price":{"nullable":true,"type":"string"},"baseCost":{"nullable":true,"type":"number"},"baseDuration":{"nullable":true,"type":"integer"},"currency":{"nullable":true,"type":"string"},"subStatus":{"nullable":true,"type":"string"},"timeSubmitted":{"nullable":true},"jobIds":{"type":"array","items":{"type":"integer"}},"jobCategories":{"type":"array","items":{"type":"string"}},"ownerId":{"nullable":true,"type":"integer"},"editorsChoice":{"nullable":true,"type":"boolean"},"contestId":{"nullable":true},"entryId":{"nullable":true},"bidId":{"nullable":true},"bidderId":{"nullable":true},"budgetMin":{"nullable":true,"type":"number"},"budgetMax":{"nullable":true,"type":"number"},"bids":{"nullable":true,"type":"array","items":{}},"bidders":{"nullable":true,"type":"array","items":{}},"upgrades":{"nullable":true,"type":"object"},"entries":{"nullable":true,"type":"array","items":{}},"seller":{"nullable":true,"type":"object"},"extras":{"nullable":true,"type":"array","items":{}},"files":{"nullable":true,"type":"array","items":{}},"language":{"nullable":true,"type":"string"},"freelancerCount":{"nullable":true,"type":"integer"}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: id; rowType=job: id, title, projectUrl."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}