On April 1st the Rank and Index Checkers price will grow by 2 kop. for a keyword on XS Pricing Plan. But for you the price won't change for now!
We've frozen old prices till June 1st for all accounts, active in 2025.
Follow us on Telegram 📧

SDK Topvisor::Pen - Topvisor API

Use the Pen object to create and send an API request.

Class methods

  • setData($arrayData) - sets the request parameters
  • setFields(array $fieldsSelect) - sets the fields parameter
  • setFilters(array $fieldsFilter) - sets the filters parameter
  • serOrders(array $fieldsOrder) - sets the orders parameter
  • setLimit(int $limit) - sets the limit parameter
  • setOffset(int offset) - sets the offset parameter
  • exec() - runs an API request, returns the object page parameter

Example

	<?php
	//...
	$projectId = '%NN%';

	$selectorKeywords = new TVPen($Session, 'get', 'keywords_2', 'keywords');
	$selectorKeywords->setData(['project_id' => $projectId]);
	$selectorKeywords->setLimit(10);

	$page = $selectorKeywords->exec();
	//...