Tweet Scraper|$0.25/1K Tweets | Pay-Per Result | No Rate Limits avatar
Tweet Scraper|$0.25/1K Tweets | Pay-Per Result | No Rate Limits

Pricing

$0.25 / 1,000 tweets

Go to Store
Tweet Scraper|$0.25/1K Tweets | Pay-Per Result | No Rate Limits

Tweet Scraper|$0.25/1K Tweets | Pay-Per Result | No Rate Limits

Developed by

Kaito Easy API

Kaito Easy API

Maintained by Community

Only $0.25/1000 tweets for Twitter scraping, 100% reliability, swift data retrieval.This incredible low price is almost too good to be true.Thanks to our large-scale operations and efficient servers, we can offer you rock-bottom prices that no competitors can match. Don't miss this opportunity !

4.4 (14)

Pricing

$0.25 / 1,000 tweets

131

Total users

2.2k

Monthly users

823

Runs succeeded

>99%

Issue response

2.2 hours

Last modified

a day ago

00

Multiple profiles

Closed

00xjelly opened this issue
4 months ago

What is your recommendation to elegantly handle a query that might have anywhere from 10-500 profiles to query for a specified date range?

KaitoEasyApi avatar

Hi, I'll send you sample code later. What programming language would you like to see the sample code in?

KaitoEasyApi avatar

What is the time range of the tweets you want to query? One month? One year? Or something else?

00

00xjelly

4 months ago

It would be a date range picker, so the query should be able to handle multiple date ranges if possible. TypeScript with React, specifically using Next.js 14

KaitoEasyApi avatar

// Define the API token and request body const API_TOKEN = "<YOUR_API_TOKEN>"; // Replace with your actual API token

const reqbody = { searchTerms: [ "from:elonmusk since:2024-01-01_00:00:00_UTC until:2024-01-02_00:00:00_UTC", "from:NASA since:2024-01-01_00:00:00_UTC until:2024-01-02_00:00:00_UTC", ], };

// Define the API endpoint const url = https://api.apify.com/v2/acts/kaitoeasyapi~twitter-x-data-tweet-scraper-pay-per-result-cheapest/run-sync-get-dataset-items?token=${API_TOKEN};

// Function to send the POST request async function sendRequest() { try { const response = await fetch(url, { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify(reqbody), // Convert the request body to JSON });

// Handle the response
if (response.ok) {
const data = await response.json();
console.log("Request successful!");
console.log("Response data:", data);
} else {
console.error("Request failed!");
console.error("Status code:", response.status);
console.error("Error message:", await response.text());
}

} catch (error) { console.error("An error occurred:", error); } }

// Call the function to send the request sendRequest();

KaitoEasyApi avatar

This way, you will get all the tweets from multiple profiles for the specified time period in one go. If you have any other questions, please leave a comment or contact me via x.com/kaitoEasyApi.

00

00xjelly

4 months ago

Hi there, this has been working fine. However I have added an 'upload csv' functionality that has profiles in which to run the actor. When I try with say 30 profiles, some are being called correctly but others are receiving a 402 error. Is there a rate limit or something similar to be aware of? Or a specific method to handle bulk multiple profile requests? E.g. 30+?

00

00xjelly

4 months ago

Is it preferable to batch process large CSVs?

KaitoEasyApi avatar

Hi, could you please provide your run_id? Please keep it confidential.

00

00xjelly

4 months ago

There are multiple, it's running on every profile in the csv

00

00xjelly

4 months ago

Is it even possible to combine multiple into one run? I noticed the tool tip for search terms notes that each unique would be an additional run? In that instance, is there a rate limit on how many unique search terms can exist at once? Hence the need to batch process a large CSV?

KaitoEasyApi avatar

Hi there, as I mentioned earlier, you can use searchTerms to run multiple search conditions simultaneously.
Sorry, I don't quite understand what you mean by "added an 'upload csv' functionality." There is no such function on the API.

KaitoEasyApi avatar

If possible, please share your runId or code. Or contact me on Twitter or Telegram. https://x.com/KaitoEasyAPI https://t.me/KaitoEasyAPI