Predicta
Search
Docs
Ctrl KPredicta SearchGet an API key
Guides

Migrating from v1

The request body and the profile format are unchanged. What changes is how the results reach you.
v1 · POST /api/searchv2
CallsOnePOST to start, GET to read
ResultsAll at once, at the endSource by source, as they arrive
Request bodyquery, query_type, networksUnchanged
Profile formatA list of profilesUnchanged, in the data of each result
Rejected networksMixed into the results listIn networks_rejected of the POST response
A source that failedAbsent from the resultsA source_error with its reason
Connection dropThe search and its results are lostReconnect with Last-Event-ID
Our server restartsThe request failsfailed, credit refunded
Same search sent twiceTwo searches, two creditsOne search, one credit
Searches at onceNo limit3 per key

Rebuilding v1's list

Concatenate the data of every result until done. v1 is unchanged and stays available.