{"openapi":"3.1.0","info":{"title":"Loker Dollar Jobs API","version":"1.0.0","description":"Search and apply to remote, Indonesia-friendly jobs. Free tier is search-only; applying requires a paid tier (Starter/Pro) and spends 1 apply credit. Tiers: free 60/min, starter 120/min, pro 300/min.","termsOfService":"https://lokerdollar.com/en/api-terms","contact":{"name":"Loker Dollar","url":"https://lokerdollar.com/en/developers"}},"servers":[{"url":"https://lokerdollar.com"}],"security":[{"bearerAuth":[]}],"paths":{"/api/v1/jobs":{"get":{"operationId":"searchJobs","summary":"Search active jobs","parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"Free-text query (title, company, skills)."},{"name":"location","in":"query","schema":{"type":"string"}},{"name":"remote_type","in":"query","schema":{"type":"string"},"description":"worldwide | regional | timezone-based"},{"name":"job_type","in":"query","schema":{"type":"string"},"description":"full-time | part-time | contract | freelance"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0},"description":"Page depth is capped per tier."},{"name":"locale","in":"query","schema":{"type":"string","enum":["id","en"]}}],"responses":{"200":{"description":"A page of jobs.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Per-window request ceiling."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the current window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Epoch-ms when the window resets."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResult"}}}},"401":{"description":"Error envelope with a machine-readable `code`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Error envelope with a machine-readable `code`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/jobs/{id}":{"get":{"operationId":"getJob","summary":"Fetch a single job","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"locale","in":"query","schema":{"type":"string","enum":["id","en"]}}],"responses":{"200":{"description":"The job.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicJob"}}}},"404":{"description":"Error envelope with a machine-readable `code`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/jobs/{id}/apply":{"post":{"operationId":"applyToJob","summary":"Apply to a job (paid tiers; spends 1 credit)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["candidate_name","candidate_email","message"],"properties":{"candidate_name":{"type":"string","maxLength":120},"candidate_email":{"type":"string","format":"email"},"message":{"type":"string","minLength":80,"maxLength":3000},"resume_url":{"type":"string","format":"uri"},"locale":{"type":"string","enum":["id","en"]}}}}}},"responses":{"200":{"description":"Submitted (internal contact) or an external apply URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyResult"}}}},"402":{"description":"Paid tier required or insufficient credits.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error envelope with a machine-readable `code`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Error envelope with a machine-readable `code`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/me":{"get":{"operationId":"getMe","summary":"Caller tier, scopes, credits and limits","responses":{"200":{"description":"The caller's account view.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeResponse"}}}},"401":{"description":"Error envelope with a machine-readable `code`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key as a bearer token, e.g. `Authorization: Bearer lk_live_…`."}},"schemas":{"PublicJob":{"type":"object","required":["id","title","url","applyUrl","sponsored"],"properties":{"id":{"type":"string","example":"job_8f2a1c"},"title":{"type":"string"},"company":{"type":["string","null"]},"location":{"type":["string","null"]},"payMin":{"type":["number","null"]},"payMax":{"type":["number","null"]},"payCurrency":{"type":["string","null"],"example":"USD"},"payPeriod":{"type":["string","null"],"example":"monthly"},"remoteType":{"type":["string","null"],"example":"worldwide"},"jobType":{"type":["string","null"],"example":"full-time"},"postedAt":{"type":["string","null"],"format":"date-time"},"url":{"type":"string","format":"uri"},"applyUrl":{"type":"string","format":"uri"},"sponsored":{"type":"boolean","description":"True for promoted listings (free tier only)."}}},"SearchResult":{"type":"object","required":["tier","jobs","page","hasMore"],"properties":{"tier":{"type":"string","enum":["free","starter","pro"]},"jobs":{"type":"array","items":{"$ref":"#/components/schemas/PublicJob"}},"page":{"type":"integer"},"hasMore":{"type":"boolean"},"notice":{"type":"string"}}},"ApplyResult":{"oneOf":[{"type":"object","required":["status","applicationId","creditsRemaining"],"properties":{"status":{"const":"submitted"},"applicationId":{"type":"string"},"creditsRemaining":{"type":"integer"}}},{"type":"object","required":["status","applyUrl","creditsRemaining"],"properties":{"status":{"const":"external"},"applyUrl":{"type":"string","format":"uri"},"creditsRemaining":{"type":"integer"}}}]},"MeResponse":{"type":"object","required":["tier","scopes","credits","limits"],"properties":{"tier":{"type":"string","enum":["free","starter","pro"]},"scopes":{"type":"array","items":{"type":"string"}},"credits":{"type":"integer"},"limits":{"type":"object","properties":{"rate_limit_per_min":{"type":"integer"},"max_page":{"type":"integer"},"apply_enabled":{"type":"boolean"},"ad_free":{"type":"boolean"}}}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["unauthorized","forbidden","rate_limited","payment_required","not_found","invalid_request","service_disabled","internal"]},"message":{"type":"string"}}}}}}}}