client.data wraps the three data routes. Types: DataTool, DataToolDetail, DataRun, DataRunRequest, DataToolSearch, DataDomain. client.socialData is the same catalogue’s social domain.
A failed run resolves (it does not throw) with
status: "failed" and error; refusals before a run — insufficient_credits (the balance does not cover the tool’s listed price for one call, or for 25 results on a per-result tool), not_found, validation_failed — throw an ApiError.