POST /api/apna/jobs
Price: 5 credits
Get one Apna (apna.co) job posting by id or URL: title, full description, company, location with coordinates, salary range and incentives, experience, education and English requirements, skills, shift, openings, applicant count, interview details, posting and expiry dates, and similar jobs
Pass an id from apna/jobs/search or a job URL. Salaries are INR per month; earning_potential includes incentives.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)job string required — Apna job id or URL (examples: "964815857", "https://apna.co/job/pune/field-sales-executive-maharashtra-mumbai-pune-nagp-964815857"; minLength: 1)@type string (default: "ApnaJob")id string requiredurl string requiredrole string nullabledescription string nullablecategory string nullablecategory_id string nullabledepartment string nullabledepartment_id string nullablecompany object nullable@type string (default: "ApnaCompany")id string nullableexternal_id string nullablename string nullableimage string nullablelocation_name string nullablelocation_type string nullableapplicant_location string nullablecity string nullablearea string nullableaddress string nullablepincode string nullablelatitude number nullablelongitude number nullablesalary_min integer nullablesalary_max integer nullablefixed_salary_min integer nullablefixed_salary_max integer nullableearning_potential integer nullableincentive_amount integer nullablehas_incentives boolean nullablesalary_type string nullableexperience string nullableexperience_level string nullableexperience_min_years integer nullableexperience_max_years integer nullableeducation string nullableenglish_level string nullablegender string nullableshift string nullableis_part_time boolean nullableis_work_from_home boolean nullableis_flexible boolean nullableopenings_count integer nullabletags array (default: [])highlights array (default: [])@type string (default: "ApnaHighlight")kind string nullabledescription string nullableis_urgently_hiring boolean nullabledeposit object nullable@type string (default: "ApnaDeposit")amount integer nullabletiming string nullablereason string nullablepurpose string nullablenotice string nullablesalary_note string nullableapplication_mode string nullablestatus string nullableis_active boolean nullableis_international boolean nullableinternational_city string nullableinternational_country string nullableis_external boolean nullableexternal_url string nullableaccepts_calls boolean nullableaccepts_whatsapp boolean nullableposted_at integer nullableupdated_at integer nullableexpires_at integer nullablesub_department string nullableemployment_type string nullableskills array (default: [])state string nullableapplicant_count integer nullabledetails array (default: [])@type string (default: "ApnaJobDetail")name string nullablevalues array (default: [])interview_details array (default: [])@type string (default: "ApnaInterviewDetail")name string nullablevalue string nullableshare_url string nullablesimilar_jobs array (default: [])@type string (default: "ApnaSimilarJob")id string requiredurl string requiredcompany object nullable@type string (default: "ApnaCompany")id string nullableexternal_id string nullablename string nullableimage string nullablelocation_name string nullablecategory string nullablesalary_min integer nullablesalary_max integer nullablefixed_salary_min integer nullablefixed_salary_max integer nullableearning_potential integer nullableincentive_amount integer nullablehas_incentives boolean nullablesalary_type string nullableexperience string nullableeducation string nullableshift string nullableis_work_from_home boolean nullableis_urgently_hiring boolean nullabletags array (default: [])expires_at integer nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — Apna has no job under that id Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.