Will paginate is an API ?

Please suggest whether will paginate is an API or not?

Well if you define an API as an interface that one piece of software
defines to like other pieces of software interact with it then I
suppose yes. I'm struggling to see what you're going to do with this
information though.