Your comments

Thank you very much !! It works well !!
It is possible. You can set competitor id as a project id on LIST OF RANKS API. You can get the competitor id by LIST OF COMPETITORS API. http://my.rankinity.com/api.en
Thank you for your quick reply.

I got "502 Bad Gateway" when I was calling ranks API by 1 QPS. It was a 51 th call.
1st. projects API
2nd. competitors API
3rd. keywords API
4th. to 51th. ranks API

I understand that this problem is not QPS issue.

This is the keyword matching problem when calling LIST OF RANKS API with paramerer "search" for keyword.

When there are many keywords on the project.
keyword 1: "wordA"
keyword 2: "wordA wordB"
keyword 3: "wordA wordC"
keyword 4: "wordA wordD"
keyword 5: "wordA wordE"
...
keyword 1000: "wordA wordZZZ"

The API http://my.rankinity.com/api/v1/projects/***/search_engines/***/ranks.json?token=***&search=wordA is try to return the result about keyword 1 to keyword 1000. It is too many to return the result. The API searches the keyword as partial matching.

Please tell me how to set perfect matching to search the keyword.

Please tell me about queries per second of this API. (QPS)