POST /api/apna/jobs/search
Price: 5 credits
Search Apna (apna.co) job postings by keyword, location, posting date, work mode, full-time or part-time, shift, department, minimum salary and experience: id, title, company, location with coordinates, salary range and incentives, experience and education requirements, shift, openings and posting, update and expiry dates
Leave keyword empty to browse by filters alone. With a keyword, location matches the closest Apna city, region or area; without one it must name a city. Keyword results carry fewer fields than filter-only results. Salaries are INR per month. Pass a returned id to apna/jobs for the full posting, skills, interview details and similar jobs.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)count integer required — Max number of results (min: 1; max: 3000)keyword string nullable — Job title, skill or company keyword (examples: "accountant"; minLength: 1; maxLength: 100)location string nullable — City, region or area name (examples: "Pune", "Andheri"; minLength: 2; maxLength: 100)posted_within string nullable — Posting date window (one of: "day", "three_days", "week")work_mode string nullable — Where the work happens (one of: "office", "home", "field")work_type string nullable — Full-time or part-time (one of: "full_time", "part_time")shift string nullable — Work shift (one of: "day", "night")department string nullable — Job department (one of: "admin_back_office", "advertising_communication", "aviation_aerospace", "banking_insurance_finance", "beauty_fitness_personal_care", "construction_site_engineering", "consulting", "content_editorial_journalism", "csr_social_service", "customer_support", "data_science_analytics", "delivery_driver_logistics", "domestic_worker", "energy_mining", "engineering_hardware_networks", "environment_health_safety", "facility_management", "finance_accounting", "healthcare_hospital", "maintenance_services", "human_resources", "it_information_security", "legal_regulatory", "marketing_brand_digital", "media_production_entertainment", "purchase_supply_chain", "product_management", "production_manufacturing", "project_program_management", "quality_assurance", "research_development", "restaurant_hospitality_tourism", "retail_ecommerce", "risk_compliance", "sales_bd", "security_services", "shipping_maritime", "software_engineering", "strategic_top_management", "tailoring_apparel_home_furnishing", "teaching_training", "ux_design_architecture", "operations")min_salary integer nullable — Minimum monthly salary in INR (examples: 30000; min: 1; max: 10000000)experience_years integer nullable — Candidate's years of experience (examples: 2; min: 0; max: 31)sort string — Result ordering: default is text relevance with a keyword and highest fixed salary first without one, latest is most recently updated first, salary is highest salary first (default: "default"; one of: "default", "latest", "salary")@type string (default: "ApnaJobSearchResult")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 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 location matching that name; without a keyword the location must be a city 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.