fjl, https://priscree.ru/img/d5133f7460d662.jpg here is a screenshot from the documentation.
my code ----> https://priscree.ru/img/383d3747d80fd7.jpg
what I get from url https://api.pexels.com/v1/search?query=apple&per_page=1&page=1:
{'total_results': 754, 'page': 1, 'per_page': 1, 'photos': [{'id': 102104, 'width': 2827, 'height': 2827, 'url': 'https://www.pexels.com/photo/healthy-apple-fruits-natural-102104/', 'photographer': 'mali maeder', 'photographer_url': 'https://www.pexels.com/@mali', 'photographer_id': 7311, 'src': {'original': 'https://images.pexels.com/photos/102104/pexels-photo-102104.jpeg', 'large2x': 'https://images.pexels.com/photos/102104/pexels-photo-102104.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940', 'large': 'https://images.pexels.com/photos/102104/pexels-photo-102104.jpeg?auto=compress&cs=tinysrgb&h=650&w=940', 'medium': 'https://images.pexels.com/photos/102104/pexels-photo-102104.jpeg?auto=compress&cs=tinysrgb&h=350', 'small': 'https://images.pexels.com/photos/102104/pexels-photo-102104.jpeg?auto=compress&cs=tinysrgb&h=130', 'portrait': 'https://images.pexels.com/photos/102104/pexels-photo-102104.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=800', 'landscape': 'https://images.pexels.com/photos/102104/pexels-photo-102104.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=627&w=1200', 'tiny': 'https://images.pexels.com/photos/102104/pexels-photo-102104.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&h=200&w=280'}, 'liked': False}], 'next_page': 'https://api.pexels.com/v1/search/?page=2&per_page=1&query=apple'}