Leads Scraper $1.5/1000 Leads up to 50K Run
Pricing
from $1.50 / 1,000 results
Leads Scraper $1.5/1000 Leads up to 50K Run
Pricing
from $1.50 / 1,000 results
You can access the Leads Scraper $1.5/1000 Leads up to 50K Run programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
{ "openapi": "3.0.1", "info": { "version": "1.0", "x-build-id": "rXatdu1DvKnQkOyAU" }, "servers": [ { "url": "https://api.apify.com/v2" } ], "paths": { "/acts/onion_labs~contacts-search/run-sync-get-dataset-items": { "post": { "operationId": "run-sync-get-dataset-items-onion_labs-contacts-search", "x-openai-isConsequential": false, "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK" } } } }, "/acts/onion_labs~contacts-search/runs": { "post": { "operationId": "runs-sync-onion_labs-contacts-search", "x-openai-isConsequential": false, "summary": "Executes an Actor and returns information about the initiated run in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/runsResponseSchema" } } } } } } }, "/acts/onion_labs~contacts-search/run-sync": { "post": { "operationId": "run-sync-onion_labs-contacts-search", "x-openai-isConsequential": false, "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK" } } } } }, "components": { "schemas": { "inputSchema": { "type": "object", "properties": { "maxResults": { "title": "Number of contacts to return", "minimum": 1, "maximum": 50000, "type": "integer", "description": "The run stops as soon as this many contacts are found, so a smaller number is faster and costs less. Every available field is returned on each contact.", "default": 1000 }, "companyDomains": { "title": "Company domains", "type": "array", "description": "Return contacts working at these companies. Use bare domains such as acme.com. This is the fastest query type: it reads only the shards holding those companies instead of scanning the database.", "items": { "type": "string" } }, "companyNames": { "title": "Company name contains", "type": "array", "description": "Match on company name text. Case insensitive, matches anywhere in the name.", "items": { "type": "string" } }, "excludeCompanyDomains": { "title": "Exclude company domains", "type": "array", "description": "Never return contacts at these domains. Useful for suppressing existing customers.", "items": { "type": "string" } }, "jobTitles": { "title": "Job title contains", "type": "array", "description": "Match job title or LinkedIn headline. Any one match is enough, for example: head of growth, vp marketing, cto. Present on 100% of contacts.", "items": { "type": "string" } }, "excludeJobTitles": { "title": "Exclude job titles containing", "type": "array", "description": "Drop contacts whose title contains any of these, for example: intern, assistant, retired.", "items": { "type": "string" } }, "seniorities": { "title": "Seniority", "type": "array", "description": "Seniority rank as recorded in the database. Present on 28% of contacts, so selecting a value here excludes the 72% with no seniority recorded.", "items": { "type": "string", "enum": [ "C-Suite", "Founder", "Owner", "Partner", "Executive", "President", "VP", "Director", "Head", "Manager", "Senior", "Entry", "Junior", "Intern" ], "enumTitles": [ "C-Suite: CEO, CFO, CTO and other chief roles", "Founder: founders and co-founders", "Owner: business owners", "Partner: partners and principals", "Executive: executive level, not chief", "President: president and equivalent", "VP: vice president", "Director: director level", "Head: head of function", "Manager: manager level", "Senior: senior individual contributor", "Entry: entry level", "Junior: junior individual contributor", "Intern: interns" ] } }, "departments": { "title": "Department", "type": "array", "description": "Department or job function. Present on only 3% of contacts, by far the sparsest filter here, so use it alongside a job title search rather than on its own.", "items": { "type": "string", "enum": [ "Executive", "C-Suite", "Founder", "Marketing", "Sales", "Operations", "Design", "Finance", "Technology", "Information Technology", "Engineering & Technical", "Human Resources", "Product", "Customer Service", "Legal", "Medical", "Pro Services" ], "enumTitles": [ "Executive: executive team", "C-Suite: chief roles", "Founder: founder and chief executive", "Marketing: marketing, brand, demand generation", "Sales: sales and business development", "Operations: operations and business support", "Design: design and creative", "Finance: finance and accounting", "Technology: technology roles", "Information Technology: IT and internal systems", "Engineering & Technical: engineering and technical roles", "Human Resources: people and recruiting", "Product: product management", "Customer Service: support and success", "Legal: legal and compliance", "Medical: clinical, health and science", "Pro Services: professional services" ] } }, "keywords": { "title": "Free text keywords", "type": "array", "description": "Match anywhere across name, job title, headline, bio, skills, company name, company description and company keywords.", "items": { "type": "string" } }, "industries": { "title": "Company industry", "type": "array", "description": "Industry recorded against the company. Present on 72% of contacts. Values match as text, so Software also matches Software/SaaS and Software Development.", "items": { "type": "string", "enum": [ "Software", "SaaS", "Information Technology", "Technology", "Artificial Intelligence", "Analytics", "Financial Services", "Banking", "Fintech", "Investment", "Insurance", "Accounting", "Venture Capital", "Marketing", "Advertising", "Media", "E-Commerce", "Retail", "Consumer", "Real Estate", "Construction", "Architecture", "Manufacturing", "Machinery", "Engineering", "Health", "Hospital", "Biotechnology", "Pharmaceutical", "Education", "Research", "Training", "Legal", "Law Practice", "Consulting", "Business Services", "Human Resources", "Staffing", "Food", "Hospitality", "Transportation", "Logistics", "Automotive", "Aerospace", "Energy", "Oil and Gas", "Environmental", "Agriculture", "Telecommunications", "Government", "Non-profit", "Sports", "Entertainment", "Travel", "Security" ] } }, "companyTechnologies": { "title": "Company technologies", "type": "array", "description": "Match technologies recorded against the company, for example: hubspot, salesforce, shopify.", "items": { "type": "string" } }, "minCompanyEmployees": { "title": "Minimum employees", "minimum": 0, "type": "integer", "description": "Smallest company size to include. Understands both exact counts and ranges such as 50-199." }, "maxCompanyEmployees": { "title": "Maximum employees", "minimum": 0, "type": "integer", "description": "Largest company size to include." }, "minCompanyFoundedYear": { "title": "Founded on or after", "minimum": 1800, "maximum": 2100, "type": "integer", "description": "Only companies founded in this year or later." }, "maxCompanyFoundedYear": { "title": "Founded on or before", "minimum": 1800, "maximum": 2100, "type": "integer", "description": "Only companies founded in this year or earlier." }, "countries": { "title": "Country", "type": "array", "description": "Country of the contact or their company. Recorded for 30% of contacts and heavily United States weighted.", "items": { "type": "string", "enum": [ "United States", "United Kingdom", "Canada", "India", "Australia", "Ireland", "New Zealand", "Germany", "France", "Spain", "Italy", "Netherlands", "Belgium", "Switzerland", "Austria", "Portugal", "Sweden", "Norway", "Denmark", "Finland", "Poland", "Czechia", "Romania", "Ukraine", "Greece", "Brazil", "Mexico", "Argentina", "Chile", "Colombia", "Peru", "Israel", "United Arab Emirates", "Saudi Arabia", "Turkey", "Egypt", "South Africa", "Nigeria", "Kenya", "Singapore", "Hong Kong", "Japan", "South Korea", "China", "Indonesia", "Philippines", "Malaysia", "Thailand", "Vietnam", "Pakistan", "Russia" ] } }, "states": { "title": "State or region", "type": "array", "description": "Free text, matched against the state and the wider location fields, for example: New York, California, Texas. Enter one or more.", "items": { "type": "string" } }, "locations": { "title": "Any location text contains", "type": "array", "description": "Broadest location match: city, state, country or the free text location on the person or the company. Use this for cities, for example: london, austin.", "items": { "type": "string" } }, "requireEmail": { "title": "Only contacts with an email", "type": "boolean", "description": "Skip contacts with no email address. 2,460,041 of 2,942,246 contacts qualify.", "default": false }, "requireVerifiedEmail": { "title": "Only verified emails", "type": "boolean", "description": "Skip contacts whose email is not marked verified by the upstream source. 202,462 contacts qualify.", "default": false }, "requirePhone": { "title": "Only contacts with a phone number", "type": "boolean", "description": "Skip contacts with no phone number. 176,317 contacts qualify. Placeholder values such as \"Not revealed\" count as missing.", "default": false }, "requireLinkedinUrl": { "title": "Only contacts with a LinkedIn profile", "type": "boolean", "description": "Skip contacts with no LinkedIn profile URL. 2,939,042 of 2,942,246 contacts qualify, so this rarely changes the result.", "default": false } } }, "runsResponseSchema": { "type": "object", "properties": { "data": { "type": "object", "properties": { "id": { "type": "string" }, "actId": { "type": "string" }, "userId": { "type": "string" }, "startedAt": { "type": "string", "format": "date-time", "example": "2025-01-08T00:00:00.000Z" }, "finishedAt": { "type": "string", "format": "date-time", "example": "2025-01-08T00:00:00.000Z" }, "status": { "type": "string", "example": "READY" }, "meta": { "type": "object", "properties": { "origin": { "type": "string", "example": "API" }, "userAgent": { "type": "string" } } }, "stats": { "type": "object", "properties": { "inputBodyLen": { "type": "integer", "example": 2000 }, "rebootCount": { "type": "integer", "example": 0 }, "restartCount": { "type": "integer", "example": 0 }, "resurrectCount": { "type": "integer", "example": 0 }, "computeUnits": { "type": "integer", "example": 0 } } }, "options": { "type": "object", "properties": { "build": { "type": "string", "example": "latest" }, "timeoutSecs": { "type": "integer", "example": 300 }, "memoryMbytes": { "type": "integer", "example": 1024 }, "diskMbytes": { "type": "integer", "example": 2048 } } }, "buildId": { "type": "string" }, "defaultKeyValueStoreId": { "type": "string" }, "defaultDatasetId": { "type": "string" }, "defaultRequestQueueId": { "type": "string" }, "buildNumber": { "type": "string", "example": "1.0.0" }, "containerUrl": { "type": "string" }, "usage": { "type": "object", "properties": { "ACTOR_COMPUTE_UNITS": { "type": "integer", "example": 0 }, "DATASET_READS": { "type": "integer", "example": 0 }, "DATASET_WRITES": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_READS": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_WRITES": { "type": "integer", "example": 1 }, "KEY_VALUE_STORE_LISTS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_READS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_WRITES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_INTERNAL_GBYTES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_EXTERNAL_GBYTES": { "type": "integer", "example": 0 }, "PROXY_RESIDENTIAL_TRANSFER_GBYTES": { "type": "integer", "example": 0 }, "PROXY_SERPS": { "type": "integer", "example": 0 } } }, "usageTotalUsd": { "type": "number", "example": 0.00005 }, "usageUsd": { "type": "object", "properties": { "ACTOR_COMPUTE_UNITS": { "type": "integer", "example": 0 }, "DATASET_READS": { "type": "integer", "example": 0 }, "DATASET_WRITES": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_READS": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_WRITES": { "type": "number", "example": 0.00005 }, "KEY_VALUE_STORE_LISTS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_READS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_WRITES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_INTERNAL_GBYTES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_EXTERNAL_GBYTES": { "type": "integer", "example": 0 }, "PROXY_RESIDENTIAL_TRANSFER_GBYTES": { "type": "integer", "example": 0 }, "PROXY_SERPS": { "type": "integer", "example": 0 } } } } } } } } }}OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for Leads Scraper $1.5/1000 Leads up to 50K Run from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients: