Skip to main content

Frequently Asked Questions

Find answers to common questions about using the ZhenRent API.

General

What is ZhenRent?

ZhenRent is an API-first task crowdsourcing platform that connects developers (Agents) with human workers to complete real-world tasks like physical verification, photography, and data collection.

Who should use ZhenRent?

Ideal for:

  • E-commerce platforms (verify merchant locations)
  • AI/ML companies (collect training data)
  • Logistics companies (confirm delivery addresses)
  • Real estate platforms (capture property photos)
  • Market research firms (conduct on-site surveys)

How is ZhenRent different from other crowdsourcing platforms?

  • API-First: Integrate in minutes, not days
  • Geographic Matching: PostGIS-powered location intelligence
  • Real-Time: WebSocket and webhook support
  • Developer-Friendly: Official SDKs for Python, JavaScript, Go
  • China-Focused: Localized for Chinese market

Getting Started

How do I get started?

  1. Sign up at dashboard
  2. Add funds (minimum 100 RMB)
  3. Create API key
  4. Follow Quick Start Guide
  5. Create your first task in 15 minutes

Do I need a credit card?

Yes, to add funds to your account. We accept:

  • Alipay (recommended)
  • WeChat Pay (coming soon)
  • Bank transfer (for企业账户 ≥1,000 RMB)

Is there a free trial?

Currently no free tier, but we offer:

  • No setup fees
  • No monthly minimums
  • Pay only for completed tasks
  • 100 RMB minimum deposit

Authentication

What's the difference between API Keys and JWT tokens?

FeatureAPI KeyJWT Token
Used byAgents (developers)Workers (mobile app users)
ValidityLong-term (90+ days)Short-term (15 min access, 7 day refresh)
Formatzr_live_*Standard JWT
PermissionsTask managementWorker actions

Can I use the same API key for dev and production?

No. Create separate keys:

  • Development: Test features, debugging
  • Staging: Pre-production testing
  • Production: Live traffic

Why? Easy to revoke compromised keys without affecting other environments.

How do I rotate API keys?

  1. Create new API key in dashboard
  2. Update application configuration
  3. Deploy changes
  4. Test with new key
  5. Delete old key

Recommended frequency: Every 90 days

What happens if my API key is leaked?

  1. Immediately delete the compromised key in dashboard
  2. Create new API key
  3. Update application
  4. Review recent API activity for unauthorized usage
  5. Consider IP whitelisting for new key

Tasks

How long does it take for tasks to be completed?

Average times:

  • Simple photo tasks: 2-4 hours
  • Verification tasks: 4-8 hours
  • Data collection: 1-2 days

Factors affecting speed:

  • Location (urban faster than rural)
  • Budget (higher pays faster)
  • Time of day (weekdays faster)
  • Required skills (common skills faster)

Can I cancel a task?

Yes, but refund depends on status:

StatusRefundFee
pending100%None
assigned70%30% to worker
in_progressNot allowedN/A
submittedNot allowedN/A

How to cancel:

DELETE /api/v1/tasks/{task_id}

What happens if a worker doesn't complete the task?

If deadline expires without completion:

  1. Task status → failed
  2. Payment refunded to your balance
  3. Worker reputation decreases
  4. You can recreate the task

If worker abandons task:

  1. Task reassigned to another worker automatically
  2. No additional cost to you
  3. Original worker's reputation decreases

Can I require specific skills?

Yes, specify in requirements.skills:

{
"requirements": {
"skills": ["photography", "data_entry"],
"min_reputation": 4.5
}
}

Common skills:

  • photography
  • data_entry
  • surveying
  • translation
  • quality_inspection

How do I ensure good quality results?

  1. Clear instructions: Detailed task description
  2. Example photos: Show what you expect
  3. Minimum reputation: Set min_reputation: 4.0+
  4. Adequate budget: Higher pay attracts better workers
  5. Review and feedback: Rate workers honestly

Payments

How does pricing work?

Formula:

Total Cost = Worker Payout + Platform Fee (10%)

Example (50 RMB task):

  • Worker receives: 45 RMB (90%)
  • Platform fee: 5 RMB (10%)
  • Total cost: 50 RMB

What payment methods do you accept?

Recharge methods:

  • Alipay (instant)
  • WeChat Pay (coming soon)
  • Bank transfer (1-3 business days, ≥1,000 RMB)

When am I charged?

Charge timing:

  1. Task created → Balance deducted → Held in escrow
  2. Task completed + approved → Released to worker
  3. Task failed/cancelled → Refunded to balance

You're charged when task is created, not when completed.

How do I check my balance?

curl "https://www.zhenrent.com/api/v1/payment/balance" \
-H "Authorization: Bearer zr_live_your_key"
{
"balance_cents": 50000,
"balance_rmb": 500.0
}

Can I get a refund?

Full refund scenarios:

  • Task cancelled before assignment
  • Task failed (deadline expired without completion)
  • Technical issue on our platform

Partial refund scenarios:

  • Task cancelled after assignment (70% refund)

No refund scenarios:

  • Task completed and approved
  • Agent-side cancellation after work started

Do you issue invoices?

Yes!

Process:

  1. Navigate to Dashboard → Billing → Request Invoice
  2. Fill in company information
  3. Select transactions to invoice
  4. Submit request

Types available:

  • 增值税普通发票 (VAT ordinary invoice)
  • 增值税专用发票 (VAT special invoice)

Delivery time: 5-7 business days

Technical

What's the API response time?

Performance benchmarks:

  • P50 (median): 80ms
  • P95: 165ms
  • P99: 280ms

SLA: 99.5% uptime (≤3.6 hours downtime/month)

Are there rate limits?

Yes:

TierRequests/MinuteRequests/Day
Free10010,000
Paid1,000100,000

Rate limit exceeded response:

HTTP/1.1 429 Too Many Requests
Retry-After: 60

{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests. Please retry after 60 seconds."
}
}

Do you support webhooks?

Yes! Configure webhooks to receive real-time notifications:

Dashboard → Webhooks → Add Endpoint
URL: https://your-app.com/webhooks/zhenrent
Events: task.completed, task.failed

Webhook events:

  • task.assigned
  • task.started
  • task.submitted
  • task.completed
  • task.failed

Learn more about webhooks

Is there a sandbox environment?

Test environment coming soon!

Current workaround:

  • Use small budget tasks (10-20 RMB)
  • Test in production with real workers
  • Cancel tasks immediately after assignment to get 70% refund

What regions do you support?

Currently supported:

  • Mainland China (all cities)

Coming soon:

  • Hong Kong, Macau, Taiwan
  • Southeast Asia (Singapore, Thailand, Vietnam)

Do you have SDKs?

Official SDKs:

  • Python: pip install zhenrent (coming soon)
  • JavaScript: npm install zhenrent-sdk (coming soon)
  • Go: go get github.com/zhenrent/zhenrent-go (coming soon)

Current workaround: Use REST API directly (see API Reference)

Troubleshooting

Error: 401 Unauthorized

Causes:

  • Missing Authorization header
  • Invalid API key format
  • Expired or deleted API key

Solution:

# Correct format
headers = {
"Authorization": f"Bearer {API_KEY}" # Note "Bearer " prefix
}

Error: 402 Payment Required

Cause: Insufficient account balance

Solution:

  1. Check balance: GET /api/v1/payment/balance
  2. Recharge account via Dashboard
  3. Retry task creation

Error: 400 Validation Error

Cause: Invalid request parameters

Common issues:

  • Budget < 1000 cents (minimum 10 RMB)
  • Deadline in the past
  • Invalid coordinates
  • Missing required fields

Solution: Check error details:

{
"error": {
"code": "validation_error",
"details": [
{
"field": "budget_cents",
"message": "Input should be greater than or equal to 1000"
}
]
}
}

Task stuck in "pending" status

Possible causes:

  1. Location too remote: No workers nearby
  2. Budget too low: Workers not accepting
  3. Requirements too strict: Few qualified workers
  4. Off-peak hours: Workers not active

Solutions:

  • Increase budget (try 50% more)
  • Expand max_distance_meters
  • Reduce min_reputation requirement
  • Extend deadline to allow more time

How do I report a bug?

Report channels:

  1. Email: support@zhenrent.com
  2. GitHub: https://github.com/zhenrent/zhenrent/issues

Include in report:

  • Task ID or API request ID
  • Request/response details
  • Expected vs actual behavior
  • Timestamp
  • Environment (production/staging)

Billing & Pricing

How much do tasks cost?

Pricing factors:

  • Task complexity
  • Location (urban vs rural)
  • Urgency (deadline)
  • Required skills

General guidelines:

Task TypeSuggested PriceDuration
Simple photo20-50 RMB15-30 min
Store verification30-80 RMB30-60 min
Data collection50-150 RMB1-2 hours
Survey/interview100-300 RMB2-4 hours

Platform fee: 10% on all transactions

Can I negotiate enterprise pricing?

Yes! Contact sales@zhenrent.com if you:

  • Process > 10,000 tasks/month
  • Need custom SLA
  • Require dedicated support
  • Want volume discounts

Enterprise benefits:

  • Discounted platform fees (8-9%)
  • Higher rate limits
  • Priority support
  • Custom contract terms

Support

How do I contact support?

  • Email: support@zhenrent.com (response < 24h)
  • Dashboard: Help → Contact Support
  • Emergency: For production outages, use "Urgent" tag

Is there developer community?

Coming soon! We're building:

  • Discord server
  • Developer forum
  • GitHub discussions

Subscribe to updates: https://www.zhenrent.com/newsletter

Do you offer consulting services?

Yes, for enterprise customers:

  • Integration assistance
  • Architecture review
  • Custom feature development
  • Training and onboarding

Contact: enterprise@zhenrent.com

What are your terms of service?

Read full terms: https://www.zhenrent.com/terms

Key points:

  • You own task data and results
  • Workers are independent contractors
  • ZhenRent is platform provider, not employer
  • Escrow protects both parties

Are you GDPR compliant?

We follow data protection best practices:

  • Data encrypted in transit (TLS 1.3)
  • Data encrypted at rest
  • Workers consent to data collection
  • You control task data

Note: GDPR primarily applies to EU. We're China-focused.

Who owns the task results?

You (the Agent) own:

  • Task descriptions
  • Results and deliverables
  • Photos taken by workers
  • Data collected

Workers own:

  • Their personal information
  • Their account data

ZhenRent owns:

  • Platform software
  • Matching algorithms
  • Anonymous analytics data

Still Have Questions?

Can't find your answer? Contact us:

  • Email: support@zhenrent.com
  • Response time: < 24 hours
  • Available: Monday-Friday, 9AM-6PM Beijing Time

Or explore more documentation: