DRY pagination data lookup