B2B
Pricing
Pay per event
You can access the B2B 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 Integrations settings in Apify Console.
{ "openapi": "3.0.1", "info": { "version": "0.0", "x-build-id": "NYWY2ZFggJvZAlCRg" }, "servers": [ { "url": "https://api.apify.com/v2" } ], "paths": { "/acts/leadzen~b2b/run-sync-get-dataset-items": { "post": { "operationId": "run-sync-get-dataset-items-leadzen-b2b", "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/leadzen~b2b/runs": { "post": { "operationId": "runs-sync-leadzen-b2b", "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/leadzen~b2b/run-sync": { "post": { "operationId": "run-sync-leadzen-b2b", "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": { "fetch_count": { "title": "#️⃣ Number of leads to fetch", "type": "integer", "description": "Leave this field empty if you want to scrape all leads for your search criteria.", "default": 2500 }, "file_name": { "title": "📁 File name / Run label", "type": "string", "description": "Give this run a custom file name or label (for easy recognition in the run history).", "default": "Prospects" }, "job_title": { "title": "Include these job titles. E.g., realtor, software developer, teacher etc.", "type": "array", "description": "Include these job titles. E.g., realtor, software developer, teacher etc.", "items": { "type": "string" } }, "seniority": { "title": "Seniority", "type": "array", "description": "Seniority", "items": { "type": "string", "enum": [ "Owner/Partner", "CxO", "Vice President", "Director", "Experienced Manager", "Entry level Manager", "Manager", "Strategic", "Senior", "Entry level", "Trainee" ], "enumTitles": [ "Owner/Partner", "CxO", "Vice President", "Director", "Experienced Manager", "Entry level Manager", "Manager", "Strategic", "Senior", "Entry level", "Trainee" ] } }, "department": { "title": "Department", "type": "array", "description": "Department", "items": { "type": "string", "enum": [ "Accounting", "Administrative", "Arts and Design", "Business Development", "Community and Social Services", "Consulting", "Education", "Engineering", "Entrepreneurship", "Finance", "Healthcare Services", "Human Resources", "Information Technology", "Legal", "Marketing", "Media and Communication", "Military and Protective Services", "Operations", "Other", "Product Management", "Program and Project Management", "Purchasing", "Quality Assurance", "Real Estate", "Research", "Sales", "Support" ], "enumTitles": [ "Accounting", "Administrative", "Arts and Design", "Business Development", "Community and Social Services", "Consulting", "Education", "Engineering", "Entrepreneurship", "Finance", "Healthcare Services", "Human Resources", "Information Technology", "Legal", "Marketing", "Media and Communication", "Military and Protective Services", "Operations", "Other", "Product Management", "Program and Project Management", "Purchasing", "Quality Assurance", "Real Estate", "Research", "Sales", "Support" ] } }, "contact_location": { "title": "Location (Country/State/City) [Include] e.g. United States, California, Spain, etc.", "type": "array", "description": "Enter the location to filter the leads.", "items": { "type": "string" } }, "contact_not_location": { "title": "Location (Country/State/City) [Exclude] e.g. United States, California, Spain, etc.", "type": "array", "description": "Enter the location to filter the leads.", "items": { "type": "string" } }, "current_position_tenure": { "title": "Current Position Tenure", "type": "array", "description": "Current Position Tenure", "items": { "type": "string", "enum": [ "Less than 6 months", "6 months to 1 year", "1 to 3 years", "3 to 5 years", "More than 5 years" ] } }, "years_of_experience": { "title": "Years of Experience", "type": "array", "description": "Years of Experience", "items": { "type": "string", "enum": [ "Less than 1 year", "1 to 2 years", "2 to 5 years", "5 to 10 years", "More than 10 years" ] } }, "number_of_connections": { "title": "Number of Linkedin Connections", "type": "array", "description": "Number of Linkedin Connections", "items": { "type": "string", "enum": [ "less than 50", "51-250", "251-500", "500+" ] } }, "company_domain": { "title": "Include Company Website/Domain e.g. google.com, https://apple.com, www.tesla.com", "type": "array", "description": "Include Company Website/Domain", "items": { "type": "string" } }, "size": { "title": "Company Size", "type": "array", "description": "Company Size", "items": { "type": "string", "enum": [ "1-10", "11-50", "51-200", "201-500", "501-1000", "1001-5000", "5001-10000", "10001+" ] } }, "company_industry": { "title": "Include any of these industries", "type": "array", "description": "Include any of these industries", "items": { "type": "string", "enum": [ "Technology, Information and Internet", "IT Services and IT Consulting", "Business Consulting and Services", "Advertising Services", "Accounting", "Media and Telecommunications", "Real Estate", "Food and Beverage Services", "Hospitality", "Food and Beverage Retail", "Online and Mail Order Retail", "Retail Apparel and Fashion", "Retail Health and Personal Care Products", "Retail Luxury Goods and Jewelry", "Retail Motor Vehicles", "Capital Markets", "Credit Intermediation", "Funds and Trusts", "Insurance", "Hospitals", "Medical Practices", "Medical Equipment Manufacturing", "Community Services", "Individual and Family Services", "Staffing and Recruiting", "Building Construction", "Civil Engineering", "Specialty Trade Contractors", "Transportation Equipment Manufacturing", "Freight and Package Transportation", "Truck Transportation", "Warehousing and Storage", "Mining", "Oil and Gas", "Electric Power Generation", "Electric Power Transmission, Control, and Distribution", "Natural Gas Distribution", "Wholesale Food and Beverage", "Wholesale Import and Export", "Services for Renewable Energy", "Collection Agencies", "Events Services", "Facilities Services", "Fundraising", "Office Administration", "Security and Investigations", "Telephone Call Centers", "Translation and Localization", "Travel Arrangements", "Writing and Editing", "Civic and Social Organizations", "Household Services", "Non-profit Organizations", "Personal and Laundry Services", "Philanthropic Fundraising Services", "Religious Institutions", "Repair and Maintenance", "E-Learning Providers", "Higher Education", "Primary and Secondary Education", "Professional Training and Coaching", "Technical and Vocational Training", "Artists and Writers", "Museums, Historical Sites, and Zoos", "Musicians", "Performing Arts and Spectator Sports", "Recreational Facilities", "Farming", "Forestry and Logging", "Ranching and Fisheries", "Administration of Justice", "Economic Programs", "Environmental Quality Programs", "Health and Human Services", "Housing and Community Development", "Military and International Affairs", "Public Policy Offices", "Space Research and Technology", "Holding Companies", "Nursing Homes and Residential Care Facilities", "Apparel Manufacturing", "Appliances, Electrical, and Electronics Manufacturing", "Chemical Manufacturing", "Climate Technology Products Manufacturing", "Computers and Electronics Manufacturing", "Fabricated Metal Products", "Food and Beverage Manufacturing", "Furniture and Home Furnishings Manufacturing", "Glass, Ceramics and Concrete Manufacturing", "Leather Product Manufacturing", "Machinery Manufacturing", "Oil and Coal Product Manufacturing", "Paper and Forest Product Manufacturing", "Plastics and Rubber Product Manufacturing", "Primary Metal Manufacturing", "Printing Services", "Sporting Goods Manufacturing", "Textile Manufacturing", "Tobacco Manufacturing", "Wood Product Manufacturing", "Architecture and Planning", "Design Services", "Engineering Services", "Legal Services", "Photography", "Research Services", "Veterinary Services", "Equipment Rental Services", "Retail Appliances, Electrical, and Electronic Equipment", "Retail Art Dealers", "Retail Art Supplies", "Retail Books and Printed News", "Retail Building Materials and Garden Equipment", "Retail Florists", "Retail Furniture and Home Furnishings", "Retail Gasoline", "Retail Musical Instruments", "Retail Office Equipment", "Retail Office Supplies and Gifts", "Retail Recyclable Materials & Used Merchandise", "Airlines and Aviation", "Ground Passenger Transportation", "Maritime Transportation", "Pipeline Transportation", "Postal Services", "Rail Transportation", "Water, Waste, Steam, and Air Conditioning Services", "Wholesale Alcoholic Beverages", "Wholesale Apparel and Sewing Supplies", "Wholesale Appliances, Electrical, and Electronics", "Wholesale Building Materials", "Wholesale Chemical and Allied Products", "Wholesale Computer Equipment", "Wholesale Drugs and Sundries", "Wholesale Footwear", "Wholesale Furniture and Home Furnishings", "Wholesale Hardware, Plumbing, Heating Equipment", "Wholesale Luxury Goods and Jewelry", "Wholesale Machinery", "Wholesale Metals and Minerals", "Wholesale Motor Vehicles and Parts", "Wholesale Paper Products", "Wholesale Petroleum and Petroleum Products", "Wholesale Photography Equipment and Supplies", "Wholesale Raw Farm Products", "Wholesale Recyclable Materials" ] } }, "company_not_industry": { "title": "Exclude any of these industries", "type": "array", "description": "Exclude any of these industries", "items": { "type": "string", "enum": [ "Technology, Information and Internet", "IT Services and IT Consulting", "Business Consulting and Services", "Advertising Services", "Accounting", "Media and Telecommunications", "Real Estate", "Food and Beverage Services", "Hospitality", "Food and Beverage Retail", "Online and Mail Order Retail", "Retail Apparel and Fashion", "Retail Health and Personal Care Products", "Retail Luxury Goods and Jewelry", "Retail Motor Vehicles", "Capital Markets", "Credit Intermediation", "Funds and Trusts", "Insurance", "Hospitals", "Medical Practices", "Medical Equipment Manufacturing", "Community Services", "Individual and Family Services", "Staffing and Recruiting", "Building Construction", "Civil Engineering", "Specialty Trade Contractors", "Transportation Equipment Manufacturing", "Freight and Package Transportation", "Truck Transportation", "Warehousing and Storage", "Mining", "Oil and Gas", "Electric Power Generation", "Electric Power Transmission, Control, and Distribution", "Natural Gas Distribution", "Wholesale Food and Beverage", "Wholesale Import and Export", "Services for Renewable Energy", "Collection Agencies", "Events Services", "Facilities Services", "Fundraising", "Office Administration", "Security and Investigations", "Telephone Call Centers", "Translation and Localization", "Travel Arrangements", "Writing and Editing", "Civic and Social Organizations", "Household Services", "Non-profit Organizations", "Personal and Laundry Services", "Philanthropic Fundraising Services", "Religious Institutions", "Repair and Maintenance", "E-Learning Providers", "Higher Education", "Primary and Secondary Education", "Professional Training and Coaching", "Technical and Vocational Training", "Artists and Writers", "Museums, Historical Sites, and Zoos", "Musicians", "Performing Arts and Spectator Sports", "Recreational Facilities", "Farming", "Forestry and Logging", "Ranching and Fisheries", "Administration of Justice", "Economic Programs", "Environmental Quality Programs", "Health and Human Services", "Housing and Community Development", "Military and International Affairs", "Public Policy Offices", "Space Research and Technology", "Holding Companies", "Nursing Homes and Residential Care Facilities", "Apparel Manufacturing", "Appliances, Electrical, and Electronics Manufacturing", "Chemical Manufacturing", "Climate Technology Products Manufacturing", "Computers and Electronics Manufacturing", "Fabricated Metal Products", "Food and Beverage Manufacturing", "Furniture and Home Furnishings Manufacturing", "Glass, Ceramics and Concrete Manufacturing", "Leather Product Manufacturing", "Machinery Manufacturing", "Oil and Coal Product Manufacturing", "Paper and Forest Product Manufacturing", "Plastics and Rubber Product Manufacturing", "Primary Metal Manufacturing", "Printing Services", "Sporting Goods Manufacturing", "Textile Manufacturing", "Tobacco Manufacturing", "Wood Product Manufacturing", "Architecture and Planning", "Design Services", "Engineering Services", "Legal Services", "Photography", "Research Services", "Veterinary Services", "Equipment Rental Services", "Retail Appliances, Electrical, and Electronic Equipment", "Retail Art Dealers", "Retail Art Supplies", "Retail Books and Printed News", "Retail Building Materials and Garden Equipment", "Retail Florists", "Retail Furniture and Home Furnishings", "Retail Gasoline", "Retail Musical Instruments", "Retail Office Equipment", "Retail Office Supplies and Gifts", "Retail Recyclable Materials & Used Merchandise", "Airlines and Aviation", "Ground Passenger Transportation", "Maritime Transportation", "Pipeline Transportation", "Postal Services", "Rail Transportation", "Water, Waste, Steam, and Air Conditioning Services", "Wholesale Alcoholic Beverages", "Wholesale Apparel and Sewing Supplies", "Wholesale Appliances, Electrical, and Electronics", "Wholesale Building Materials", "Wholesale Chemical and Allied Products", "Wholesale Computer Equipment", "Wholesale Drugs and Sundries", "Wholesale Footwear", "Wholesale Furniture and Home Furnishings", "Wholesale Hardware, Plumbing, Heating Equipment", "Wholesale Luxury Goods and Jewelry", "Wholesale Machinery", "Wholesale Metals and Minerals", "Wholesale Motor Vehicles and Parts", "Wholesale Paper Products", "Wholesale Petroleum and Petroleum Products", "Wholesale Photography Equipment and Supplies", "Wholesale Raw Farm Products", "Wholesale Recyclable Materials" ] } }, "company_keywords": { "title": "Include these keywords. E.g. restaurant, fitness, gym, software development", "type": "array", "description": "Include these keywords. E.g. restaurant, fitness, gym, software development", "items": { "type": "string" } }, "company_not_keywords": { "title": "Exclude these keywords. E.g. restaurant, fitness, gym, software development", "type": "array", "description": "Exclude these keywords. E.g. restaurant, fitness, gym, software development", "items": { "type": "string" } }, "company_type": { "title": "Company Type", "type": "array", "description": "Company Type", "items": { "type": "string", "enum": [ "Public Company", "Privately Held", "Nonprofit", "Educational Institution", "Educational", "Partnership", "Self Employed", "Self Owned", "Government Agency", "Sole Proprietorship" ] } }, "company_last_funding_round_at": { "title": "Company Last Funding Round At", "type": "array", "description": "Company Last Funding Round At", "items": { "type": "string", "enum": [ "Less than 1 month", "1 month to 3 months", "3 months to 6 months", "More than 6 months" ] } } } }, "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 B2B 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: