API प्रबंधन
अपने खाते में प्रोग्रामेटिक एक्सेस के लिए API कुंजियाँ बनाएं और प्रबंधित करें
API दस्तावेज़ीकरण
प्रमाणीकरण हेडर
X-API-Key हेडर का उपयोग करके प्रत्येक अनुरोध में अपनी API कुंजी शामिल करें:
X-API-Key: your_api_key_here
एंडपॉइंट्स
स्टैंडर्ड एंडपॉइंट्स
/jobs/add
निर्दिष्ट विवरण के साथ एक नया जॉब/अभियान बनाता है। multipart/form-data कंटेंट टाइप की आवश्यकता है। सभी सबमिशन को स्वचालित रूप से स्वीकृत करने और जॉब के कुल उपलब्धताओं तक पहुंचने पर श्रमिकों को भुगतान करने के लिए approve_once_full को true पर सेट करें।
अनुरोध
Content-Type: multipart/form-data title: string (required) description: string (required) pay_rate: decimal (required) total_availabilities: integer (required) proof_required_description: string (required) category: string (required) sub_category: string (optional) campaign_image: file (optional) countries: array (optional. Omit to include all countries) approve_once_full: boolean (optional, default: false. When true, all submissions are automatically approved and workers paid once the job reaches its total availabilities)
प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job": {
"public_id": "123e4567-e89b-12d3-a456-426614174000",
"title": "Test Job",
"status": "Active",
"pay_rate": "5.00",
"total_availabilities": 10
},
"deduction_details": {
"total_cost": "50.00",
"commission": "5.00",
"total_deducted": "55.00",
"new_balance": "945.00"
}
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data or insufficient balance
- 401 — Invalid or missing API key
- 403 — Job rejected by legitimacy check
कोड उदाहरण
import requests
# Create a job without image
job_data = {
"title": "Complete a Survey",
"description": "Fill out our 5-minute customer satisfaction survey",
"pay_rate": "2.50",
"total_availabilities": "100",
"proof_required_description": "Submit a screenshot of the completion page",
"category": "Survey",
"sub_category": (None, "Customer Feedback"),
"countries": (None, '["US", "CA", "GB"]'), # Omit to include all countries
}
response = requests.post(
"https://api.rapidworkers.io/jobs/add",
headers={"X-API-Key": "your_api_key_here"},
files=job_data
)
job = response.json()
print(f"Job created: {job['job']['public_id']}")/account/get_balance
आपका वर्तमान खाता शेष प्राप्त करता है।
अनुरोध
Content-Type: application/json
{} // Empty bodyप्रतिक्रिया
// 200 OK
{
"balance": "1000.00"
}त्रुटि प्रतिक्रियाएं
- 401 — Invalid or missing API key
- 404 — User not found
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/account/get_balance",
headers={"X-API-Key": "your_api_key_here"}
)
print(f"Balance: {response.json()['balance']}")/api/campaigns/{campaign_id}/submissions/{submission_id}/approve/
आपके अभियान के लिए एक कार्यकर्ता की सबमिशन को स्वीकृत करता है।
पाथ पैरामीटर
campaign_id (UUID) submission_id (integer)
अनुरोध
Content-Type: application/json
{
"notes": "Great work!" // Optional
}प्रतिक्रिया
// 200 OK
{
"success": true,
"message": "Submission approved successfully",
"submission": {
"id": 123,
"user": "worker_username",
"status": "Approved",
"amount_paid": "5.00"
}
}त्रुटि प्रतिक्रियाएं
- 400 — Submission already processed or insufficient funds
- 403 — You don't own this campaign
- 404 — Submission not found
कोड उदाहरण
import requests
campaign_id = "your_campaign_public_id"
submission_id = 456
response = requests.post(
f"https://api.rapidworkers.io/api/campaigns/{campaign_id}/submissions/{submission_id}/approve/",
headers={"X-API-Key": "your_api_key_here"},
json={"notes": "Great work!"}
)
print(f"Submission approved: {response.json()}")/api/campaigns/{campaign_id}/submissions/{submission_id}/reject/
एक कारण के साथ एक कार्यकर्ता की सबमिशन को अस्वीकार करता है।
पाथ पैरामीटर
campaign_id (UUID) submission_id (integer)
अनुरोध
Content-Type: application/json
{
"notes": "Does not meet requirements" // Required
}प्रतिक्रिया
// 200 OK
{
"success": true,
"message": "Submission rejected",
"submission": {
"id": 123,
"user": "worker_username",
"status": "Rejected",
"notes": "Does not meet requirements"
}
}त्रुटि प्रतिक्रियाएं
- 400 — Missing rejection reason
- 403 — You don't own this campaign
- 404 — Submission not found
कोड उदाहरण
import requests
campaign_id = "your_campaign_public_id"
submission_id = 456
response = requests.post(
f"https://api.rapidworkers.io/api/campaigns/{campaign_id}/submissions/{submission_id}/reject/",
headers={"X-API-Key": "your_api_key_here"},
json={"notes": "Screenshot does not show completion page"}
)
print(f"Submission rejected: {response.json()}")/api/campaigns/{campaign_id}/submissions/bulk_action/
एक अभियान की सभी लंबित सबमिशन को एक बार में स्वीकृत करें।
पाथ पैरामीटर
campaign_id (UUID)
अनुरोध
Content-Type: application/json
{
"notes": "Bulk action notes" // Optional
}प्रतिक्रिया
// 200 OK
{
"success": true,
"message": "All submissions approved successfully.",
"submissions": [
{ "id": 123, "status": "Approved", "user": "worker1" },
{ "id": 124, "status": "Approved", "user": "worker2" }
]
}त्रुटि प्रतिक्रियाएं
- 403 — You don't own this campaign
- 404 — No pending submissions found
कोड उदाहरण
import requests
campaign_id = "your_campaign_public_id"
# Bulk approve all pending
response = requests.post(
f"https://api.rapidworkers.io/api/campaigns/{campaign_id}/submissions/bulk_action/",
headers={"X-API-Key": "your_api_key_here"},
json={"notes": "All submissions verified"}
)
print(f"Bulk action result: {response.json()}")/api/campaigns/
ऑप्शनल स्टेटस फ़िल्टरिंग के साथ, वेरिफाइड यूज़र्स की सभी एक्टिविटीज़ पाएं।
अनुरोध
Query Parameters (optional):
status: string ("Active", "Pending", "Completed", "Canceled")
language: string (default: "en")प्रतिक्रिया
// 200 OK
[
{
"jobId": "123e4567-e89b-12d3-a456-426614174000",
"jobTitle": "Complete a Survey",
"jobCategory": "Survey",
"jobPay": "2.50",
"jobLocation": "In",
"jobCreatedAt": "2025-01-15T10:30:00Z",
"jobStatus": "Active",
"jobInstancesCompleted": 45,
"jobTotalAvailabilities": 100,
"jobSuccessRate": "40%",
"description": "Fill out our customer satisfaction survey",
"canceled": false,
"remainingAvailabilities": 55,
"pendingSubmissions": 12,
"approvedSubmissions": 40,
"rejectedSubmissions": 5
}
]
त्रुटि प्रतिक्रियाएं
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
# List all campaigns
response = requests.get(
"https://api.rapidworkers.io/api/campaigns/",
headers={"X-API-Key": "your_api_key_here"}
)
campaigns = response.json()
for campaign in campaigns["results"]:
print(f"{campaign['jobTitle']} - {campaign['jobStatus']}")
# Filter by status
response = requests.get(
"https://api.rapidworkers.io/api/campaigns/?status=Active",
headers={"X-API-Key": "your_api_key_here"}
)/api/campaigns/detail/{campaign_id}/
सबमिशन गणना और शेष उपलब्धता सहित एक विशिष्ट अभियान की विस्तृत जानकारी प्राप्त करता है।
पाथ पैरामीटर
campaign_id (UUID)
अनुरोध
Query Parameters (optional): language: string (default: "en")
प्रतिक्रिया
// 200 OK
{
"jobId": "123e4567-e89b-12d3-a456-426614174000",
"jobTitle": "Complete a Survey",
"jobCategory": "Survey",
"jobPay": "2.50",
"jobLocation": "In",
"jobCreatedAt": "2025-01-15T10:30:00Z",
"jobStatus": "Active",
"jobInstancesCompleted": 45,
"jobTotalAvailabilities": 100,
"jobSuccessRate": "40%",
"description": "Fill out our customer satisfaction survey",
"canceled": false,
"remainingAvailabilities": 55,
"pendingSubmissions": 12,
"approvedSubmissions": 40,
"rejectedSubmissions": 5
}त्रुटि प्रतिक्रियाएं
- 401 — Invalid or missing API key
- 403 — You don't own this campaign
- 404 — Campaign not found
कोड उदाहरण
import requests
campaign_id = "123e4567-e89b-12d3-a456-426614174000"
response = requests.get(
f"https://api.rapidworkers.io/api/campaigns/detail/{campaign_id}/",
headers={"X-API-Key": "your_api_key_here"}
)
campaign = response.json()
print(f"Remaining slots: {campaign['remaining_availabilities']}")
print(f"Pending: {campaign['pending_submissions']}")/api/campaigns/{campaign_id}/submissions/
कार्यकर्ता मेटाडेटा, वैकल्पिक स्थिति फ़िल्टरिंग और पेजिनेशन के साथ एक विशिष्ट अभियान के सभी सबमिशन प्राप्त करता है।
पाथ पैरामीटर
campaign_id (UUID)
अनुरोध
Query Parameters (optional):
status: string ("Pending", "Approved", "Rejected")
search: string (search by worker name)
page: integer (default: 1)
rowsPerPage: integer (default: 1000)
language: string (default: "en")प्रतिक्रिया
// 200 OK
{
"count": 45,
"next": null,
"previous": null,
"results": {
"submissions": [
{
"submissionId": 123,
"userId": "abc-def-123",
"userName": "WorkerName",
"userAvatar": "https://...",
"campaignId": "123e4567-e89b-12d3-a456-426614174000",
"campaignTitle": "Complete a Survey",
"status": "Pending",
"country_name": "United States",
"submittedAt": "2025-01-16T14:30:00Z",
"proof_text": "Completed the survey as requested",
"images": [
{
"id": "img_1",
"url": "https://...",
"thumbnailUrl": "https://..."
}
],
"notes": null,
"workerAccountAgeDays": 120,
"workerApprovalRate": "85%",
"workerTotalCompleted": 47
}
],
"pagination": {
"totalCount": 45,
"pageCount": 1,
"currentPage": 1,
"rowsPerPage": 1000
}
}
}त्रुटि प्रतिक्रियाएं
- 401 — Invalid or missing API key
- 403 — You don't own this campaign
- 404 — Campaign not found
कोड उदाहरण
import requests
campaign_id = "123e4567-e89b-12d3-a456-426614174000"
# List all submissions
response = requests.get(
f"https://api.rapidworkers.io/api/campaigns/{campaign_id}/submissions/",
headers={"X-API-Key": "your_api_key_here"}
)
data = response.json()
for sub in data["results"]["submissions"]:
print(f"#{sub['submissionId']} - {sub['status']} - Age: {sub['worker_account_age_days']}d")
# Filter pending only
response = requests.get(
f"https://api.rapidworkers.io/api/campaigns/{campaign_id}/submissions/?status=Pending",
headers={"X-API-Key": "your_api_key_here"}
)/api/workers/block/
किसी कार्यकर्ता को आपकी किसी भी अभियान में प्रमाण जमा करने से रोकता है। ब्लॉक किए गए कार्यकर्ता आपके अभियानों को अपनी कार्य सूची में नहीं देख पाएंगे।
अनुरोध
Content-Type: application/json
{
"worker_id": 12345 // Worker public ID
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Worker blocked successfully",
"worker_id": 12345
}त्रुटि प्रतिक्रियाएं
- 400 — Missing worker_id, self-block attempt, or worker already blocked
- 401 — Invalid or missing API key
- 404 — Worker not found
कोड उदाहरण
import requests
worker_id = 12345
response = requests.post(
"https://api.rapidworkers.io/api/workers/block/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={"worker_id": worker_id}
)
print(f"Worker blocked: {response.json()}")/api/workers/unblock/
पहले से ब्लॉक किए गए कार्यकर्ता को अनब्लॉक करता है, जिससे वे आपके अभियानों को फिर से देख और प्रमाण जमा कर सकें।
अनुरोध
Content-Type: application/json
{
"worker_id": 12345
}प्रतिक्रिया
// 200 OK
{
"success": true,
"message": "Worker unblocked successfully",
"worker_id": 12345
}त्रुटि प्रतिक्रियाएं
- 400 — Missing worker_id or worker is not blocked
- 401 — Invalid or missing API key
- 404 — Worker not found
कोड उदाहरण
import requests
worker_id = 12345
response = requests.post(
"https://api.rapidworkers.io/api/workers/unblock/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={"worker_id": worker_id}
)
print(f"Worker unblocked: {response.json()}")/api/workers/blocked/
आपके द्वारा ब्लॉक किए गए सभी कार्यकर्ताओं की सूची प्राप्त करता है।
अनुरोध
No request body required.
प्रतिक्रिया
// 200 OK
[
{
"worker_id": 12345,
"worker_name": "WorkerName",
"blocked_at": "2025-01-15T10:30:00Z"
}
]त्रुटि प्रतिक्रियाएं
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.get(
"https://api.rapidworkers.io/api/workers/blocked/",
headers={"X-API-Key": "your_api_key_here"}
)
blocked = response.json()
for worker in blocked:
print(f"Blocked: {worker['worker_name']} (ID: {worker['worker_id']})")प्री-फ़िल्ड जॉब एंडपॉइंट्स
सामान्य सोशल मीडिया एंगेजमेंट कार्यों के लिए सरलीकृत एंडपॉइंट्स। केवल एक लिंक और मात्रा की आवश्यकता है। सभी प्रीफिल्ड जॉब्स में स्वचालित स्वीकृति सक्षम है: जॉब के कुल उपलब्धताओं तक पहुंचने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं और श्रमिकों को भुगतान किया जाता है।
/api/jobs/facebook-likes/
Facebook पोस्ट लाइक प्राप्त करने के लिए एक सरलीकृत जॉब बनाएं। केवल एक लिंक और मात्रा की आवश्यकता है। Auto-pricing: $0.05 per job. जॉब भर जाने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं।
अनुरोध
Content-Type: application/json
{
"link": "https://facebook.com/post/123", // Required
"quantity": 50, // Required (minimum: 6)
"countries": ["US", "GB"], // Omit to include all countries
"language": "en", // Optional
"approve_once_full": true // Optional (default: true). Auto-approve all submissions once job is full
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job_id": "123e4567-e89b-12d3-a456-426614174000",
"total_cost": "2.50"
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data, insufficient balance, or quantity below minimum (6)
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/api/jobs/facebook-likes/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={
"link": "https://facebook.com/post/123",
"quantity": 50 # Minimum: 6
}
)
job = response.json()
print(f"Job created: {job['job_id']}")/api/jobs/facebook-shares/
Facebook पोस्ट शेयर प्राप्त करने के लिए एक सरलीकृत जॉब बनाएं। केवल एक लिंक और मात्रा की आवश्यकता है। Auto-pricing: $0.05 per job. जॉब भर जाने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं।
अनुरोध
Content-Type: application/json
{
"link": "https://facebook.com/post/123", // Required
"quantity": 25, // Required (minimum: 6)
"countries": ["US", "CA"], // Omit to include all countries
"language": "en", // Optional
"approve_once_full": true // Optional (default: true). Auto-approve all submissions once job is full
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job_id": "123e4567-e89b-12d3-a456-426614174000",
"total_cost": "1.25"
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data, insufficient balance, or quantity below minimum (6)
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/api/jobs/facebook-shares/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={
"link": "https://facebook.com/post/123",
"quantity": 25 # Minimum: 6
}
)
job = response.json()
print(f"Job created: {job['job_id']}")/api/jobs/instagram-likes/
Instagram पोस्ट लाइक प्राप्त करने के लिए एक सरलीकृत जॉब बनाएं। केवल एक लिंक और मात्रा की आवश्यकता है। Auto-pricing: $0.05 per job. जॉब भर जाने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं।
अनुरोध
Content-Type: application/json
{
"link": "https://instagram.com/ABC123", // Required
"quantity": 100, // Required (minimum: 6)
"countries": ["US", "GB"], // Omit to include all countries
"language": "en", // Optional
"approve_once_full": true // Optional (default: true). Auto-approve all submissions once job is full
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job_id": "123e4567-e89b-12d3-a456-426614174000",
"total_cost": "5.00"
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data, insufficient balance, or quantity below minimum (6)
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/api/jobs/instagram-likes/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={
"link": "https://instagram.com/ABC123",
"quantity": 100 # Minimum: 6
}
)
job = response.json()
print(f"Job created: {job['job_id']}")/api/jobs/instagram-followers/
Instagram फ़ॉलोअर्स प्राप्त करने के लिए एक सरलीकृत जॉब बनाएं। केवल एक लिंक और मात्रा की आवश्यकता है। Auto-pricing: $0.05 per job. जॉब भर जाने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं।
अनुरोध
Content-Type: application/json
{
"link": "https://instagram.com/username", // Required
"quantity": 50, // Required (minimum: 6)
"countries": ["US", "CA"], // Omit to include all countries
"language": "en", // Optional
"approve_once_full": true // Optional (default: true). Auto-approve all submissions once job is full
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job_id": "123e4567-e89b-12d3-a456-426614174000",
"total_cost": "2.50"
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data, insufficient balance, or quantity below minimum (6)
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/api/jobs/instagram-followers/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={
"link": "https://instagram.com/username",
"quantity": 50 # Minimum: 6
}
)
job = response.json()
print(f"Job created: {job['job_id']}")/api/jobs/twitter-likes/
Twitter/X पोस्ट लाइक प्राप्त करने के लिए एक सरलीकृत जॉब बनाएं। केवल एक लिंक और मात्रा की आवश्यकता है। Auto-pricing: $0.05 per job. जॉब भर जाने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं।
अनुरोध
Content-Type: application/json
{
"link": "https://twitter.com/user/status/123", // Required
"quantity": 75, // Required (minimum: 6)
"countries": ["US", "GB"], // Omit to include all countries
"language": "en", // Optional
"approve_once_full": true // Optional (default: true). Auto-approve all submissions once job is full
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job_id": "123e4567-e89b-12d3-a456-426614174000",
"total_cost": "3.75"
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data, insufficient balance, or quantity below minimum (6)
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/api/jobs/twitter-likes/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={
"link": "https://twitter.com/user/status/123",
"quantity": 75 # Minimum: 6
}
)
job = response.json()
print(f"Job created: {job['job_id']}")/api/jobs/twitter-followers/
Twitter/X फ़ॉलोअर्स प्राप्त करने के लिए एक सरलीकृत जॉब बनाएं। केवल एक लिंक और मात्रा की आवश्यकता है। Auto-pricing: $0.05 per job. जॉब भर जाने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं।
अनुरोध
Content-Type: application/json
{
"link": "https://twitter.com/username", // Required
"quantity": 50, // Required (minimum: 6)
"countries": ["US", "CA"], // Omit to include all countries
"language": "en", // Optional
"approve_once_full": true // Optional (default: true). Auto-approve all submissions once job is full
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job_id": "123e4567-e89b-12d3-a456-426614174000",
"total_cost": "2.50"
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data, insufficient balance, or quantity below minimum (6)
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/api/jobs/twitter-followers/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={
"link": "https://twitter.com/username",
"quantity": 50 # Minimum: 6
}
)
job = response.json()
print(f"Job created: {job['job_id']}")/api/jobs/twitter-retweets/
Twitter/X रीट्वीट प्राप्त करने के लिए एक सरलीकृत जॉब बनाएं। केवल एक लिंक और मात्रा की आवश्यकता है। Auto-pricing: $0.05 per job. जॉब भर जाने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं।
अनुरोध
Content-Type: application/json
{
"link": "https://twitter.com/user/status/123", // Required
"quantity": 30, // Required (minimum: 6)
"countries": ["US", "GB"], // Omit to include all countries
"language": "en", // Optional
"approve_once_full": true // Optional (default: true). Auto-approve all submissions once job is full
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job_id": "123e4567-e89b-12d3-a456-426614174000",
"total_cost": "1.50"
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data, insufficient balance, or quantity below minimum (6)
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/api/jobs/twitter-retweets/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={
"link": "https://twitter.com/user/status/123",
"quantity": 30 # Minimum: 6
}
)
job = response.json()
print(f"Job created: {job['job_id']}")/api/jobs/trustpilot-reviews/
Trustpilot समीक्षाएं प्राप्त करने के लिए एक सरलीकृत जॉब बनाएं। केवल एक लिंक और मात्रा की आवश्यकता है। Auto-pricing: $0.05 per job. जॉब भर जाने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं।
अनुरोध
Content-Type: application/json
{
"link": "https://trustpilot.com/review/example.com", // Required
"quantity": 20, // Required (minimum: 6)
"countries": ["US", "CA"], // Omit to include all countries
"language": "en", // Optional
"approve_once_full": true // Optional (default: true). Auto-approve all submissions once job is full
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job_id": "123e4567-e89b-12d3-a456-426614174000",
"total_cost": "1.00"
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data, insufficient balance, or quantity below minimum (6)
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/api/jobs/trustpilot-reviews/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={
"link": "https://trustpilot.com/review/example.com",
"quantity": 20 # Minimum: 6
}
)
job = response.json()
print(f"Job created: {job['job_id']}")/api/jobs/9gag-upvotes/
9GAG अपवोट प्राप्त करने के लिए एक सरलीकृत जॉब बनाएं। केवल एक लिंक और मात्रा की आवश्यकता है। Auto-pricing: $0.05 per job. जॉब भर जाने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं।
अनुरोध
Content-Type: application/json
{
"link": "https://9gag.com/gag/abc123", // Required
"quantity": 50, // Required (minimum: 6)
"countries": ["US", "GB"], // Omit to include all countries
"language": "en", // Optional
"approve_once_full": true // Optional (default: true). Auto-approve all submissions once job is full
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job_id": "123e4567-e89b-12d3-a456-426614174000",
"total_cost": "2.50"
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data, insufficient balance, or quantity below minimum (6)
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/api/jobs/9gag-upvotes/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={
"link": "https://9gag.com/gag/abc123",
"quantity": 50 # Minimum: 6
}
)
job = response.json()
print(f"Job created: {job['job_id']}")/api/jobs/youtube-likes/
YouTube वीडियो लाइक प्राप्त करने के लिए एक सरलीकृत जॉब बनाएं। केवल एक लिंक और मात्रा की आवश्यकता है। Auto-pricing: $0.05 per job. जॉब भर जाने पर सबमिशन स्वचालित रूप से स्वीकृत हो जाते हैं।
अनुरोध
Content-Type: application/json
{
"link": "https://youtube.com/watch?v=abc123", // Required
"quantity": 100, // Required (minimum: 6)
"countries": ["US", "CA"], // Omit to include all countries
"language": "en", // Optional
"approve_once_full": true // Optional (default: true). Auto-approve all submissions once job is full
}प्रतिक्रिया
// 201 Created
{
"success": true,
"message": "Job created successfully",
"job_id": "123e4567-e89b-12d3-a456-426614174000",
"total_cost": "5.00"
}त्रुटि प्रतिक्रियाएं
- 400 — Invalid data, insufficient balance, or quantity below minimum (6)
- 401 — Invalid or missing API key
कोड उदाहरण
import requests
response = requests.post(
"https://api.rapidworkers.io/api/jobs/youtube-likes/",
headers={"X-API-Key": "your_api_key_here", "Content-Type": "application/json"},
json={
"link": "https://youtube.com/watch?v=abc123",
"quantity": 100 # Minimum: 6
}
)
job = response.json()
print(f"Job created: {job['job_id']}")त्रुटि प्रबंधन
सभी API त्रुटियां एक सुसंगत प्रारूप का पालन करती हैं:
{
"error": "Error message describing what went wrong"
}- 200 अनुरोध सफल हुआ
- 201 संसाधन सफलतापूर्वक बनाया गया
- 400 अमान्य अनुरोध डेटा
- 401 अनुपस्थित या अमान्य API कुंजी
- 403 अपर्याप्त अनुमतियां
- 404 संसाधन नहीं मिला
- 429 दर सीमा पार हो गई (1,000/घंटा)
- 500 सर्वर-साइड त्रुटि