I need help to retrieve an actor's input schema

I can retrieve the list of public actors available, and the information of a specific actor as well. The problem that I have is that I need to now (and retrieve) a specific public actors input schema before running it right? How can I do that?
5 Replies
genetic-orange
genetic-orange13mo ago
You can find input-schema here in every Actor's input tab-> JSON: https://apify.com/curious_coder/apollo-io-scraper/input-schema
Apify
Input · Apollo.io leads scraper · Apify
Scrape leads from apollo io search results including verified emails and phone numbers. This apollo io data scraping bot helps you to extract leads from your apollo search results without subscrib...
vicious-gold
vicious-goldOP13mo ago
And how could I tet that directly from code in python? Through HTTP requests
ambitious-aqua
ambitious-aqua13mo ago
Why do you need it? Closest match is exampleRunInput in https://docs.apify.com/api/v2#/reference/actors/actor-object/get-actor
vicious-gold
vicious-goldOP13mo ago
Because I want to develop a script that lets me extract the best actor for my needs together with the required inputs. That way I would like to run the actor with a script as well (without needing to go to the Apify UI). But for that I need the Input Schema so that I can specify the required inputs when I run the actor. Does someone know how can I do that?
conscious-sapphire
conscious-sapphire13mo ago
@Iker Just use plain http request to https://apify.com/curious_coder/apollo-io-scraper/input-schema Just checked. it's available in html.
Apify
Input · Apollo.io leads scraper · Apify
Scrape leads from apollo io search results including verified emails and phone numbers. This apollo io data scraping bot helps you to extract leads from your apollo search results without subscrib...

Did you find this page helpful?