Use one DataPI endpoint and stable operation identifiers to make requests. DataPI selects the underlying source; source details are not part of your API contract.
Sign in, open your dashboard, create a workspace token, and copy the secret once. Keep it in your backend secret store.
Open dashboardSend the token as an HTTP bearer credential to the DataPI API.
Authorization: Bearer $DATAPI_API_TOKEN
List DataPI operations and read their input and output schemas before making a request.
curl https://api.datapi.ir/v1/operations \ -H "Authorization: Bearer $DATAPI_API_TOKEN"
Each operation uses the same request endpoint. Follow its published schema when shaping `input`.
curl https://api.datapi.ir/v1/requests \
-H "Authorization: Bearer $DATAPI_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"operation":"social.instagram.profile.read","input":{"username":"sample_creator"},"mode":"sync"}'Results are returned only for available, configured operations. Read quota headers to monitor the monthly free API-call allowance.