Question about trial (and paid) version

I just started to test Open Sanction API, so that we can integrate it with our business flow.

As a test step I ran through a file of (our) vendor that has about 600 vendors a few times. Calling /match/sanction to batch query 50 vendors at a time. So, I was expecting a small multiple of 12 query on my usage page
https://www.opensanctions.org/account/usage

but the usage says 1341. I thought that when we batch multiple search in a single query, it counted as one call?

1 Like

Hi Lloyd!

The /match API counts the number of logical queries you’ve conducted, so if you submit a batch of 10 query entities to be screened, that HTTP request will be counted as 10 queries.

In your case, each batch of 50 vendors counts as 50 queries toward your usage.

Here you can find some tips on optimizing API calls: https://www.opensanctions.org/faq/154/api-usage-limits-optimization/