{"name":"Mail Spaces API","description":"Spaces from mail.ru with image url and title fields, plus filter inputs.","api_id":"generated_231bf1ae51b44271ad5f514c","slug":"mail-spaces-api","source":{"name":"otvet.mail.ru","domain":"otvet.mail.ru","url":"https://otvet.mail.ru/"},"category":"social_communities","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-11-23","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-11-20T12:15:27.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_231bf1ae51b44271ad5f514c_search","name":"List Mail Spaces","description":"Return records within the accepted scope.","definition_version":"15682e7a387252e85ea4260260ca0ed92f80c0d16b98c59ed7cf6063f213696d","method":"POST","path":"/v1/catalog/public/apis/generated_231bf1ae51b44271ad5f514c/endpoints/generated_231bf1ae51b44271ad5f514c_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_231bf1ae51b44271ad5f514c/endpoints/generated_231bf1ae51b44271ad5f514c_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"collection":{"type":"string","enum":["О любви без купюр","Философский вопрос","Политические дебаты"],"description":"Choose an independently verified source collection/filter route. Omit it to read the pasted collection itself.","x-source-route":"choice_page"},"search":{"anyOf":[{"type":"string","minLength":1,"maxLength":100,"pattern":"^[^\\x00-\\x1f\\x7f]+$","description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection."},{"type":"array","minItems":1,"items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[^\\x00-\\x1f\\x7f]+$","description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection."}}],"description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection. Supply an array to union distinct results from each source search, in query order. Setting this input runs the item's alternate html route (input_route:1), which reads the source page itself and is slower than the default route; limits and continuations are that route's.","x-input-route":"input_route:1"},"category":{"x-enum-labels":["🔥 Популярное","💬 Обсуждаемое"],"x-value-status":["observed","verified"],"x-input-proof":{"evidence":"declared","key":2,"kind":"link","notes":["same_records_as_collection"],"read":"listing","rule":"request_structure_v1","value":"debated","where":"path"},"x-source-key":"category","type":"string","pattern":"^[A-Za-z0-9][A-Za-z\\-_0-9]{0,31}$","minLength":1,"maxLength":32,"examples":["popular","debated"],"x-open-values":true,"description":"Optional. The name of a page of the same kind as the pages the pasted one links (any name that fits the pattern; the examples are the names it links). The site decides: a name it does not serve is refused as input_value_unverified. Omit for the pasted page (its own name asks for it too). Setting this input runs the item's alternate html route (input_route:1), which reads the source page itself and is slower than the default route; limits and continuations are that route's.","not":{"type":"string","pattern":"\\n"},"x-source-route":"path_segment","x-input-type":{"kind":"string"},"x-input-route":"input_route:1"},"enrich_records":{"type":"boolean","default":true,"description":"true: read each returned record's product/detail page and merge its fields into the record. false: return list/search-level fields only, with no detail page reads. Every returned record's detail page is read within the run's time budget; records the time budget leaves unread are returned without detail fields, and summary.record_enrichment reports how many records were enriched and why any were not (run_time_budget). Detail fields are optional."}},"required":[],"additionalProperties":false},"output_schema":{"type":"object","additionalProperties":false,"required":["title","url"],"properties":{"answer_preview":{"type":"string"},"count":{"type":"integer"},"count_2":{"type":"integer"},"count_3":{"type":"integer"},"count_4":{"type":"integer"},"count_5":{"type":"integer"},"image_url":{"type":"string"},"posted_time":{"type":"string"},"related_title":{"type":"string"},"related_url":{"type":"string"},"tags":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"id":{"type":"string"},"author_id":{"type":"string"},"spaces_id":{"type":"string"},"content_json_type":{"type":"string"},"content_json_content_type":{"type":"string"},"has_links":{"type":"string"},"has_mention":{"type":"string"},"content_json_without_media_type":{"type":"string"},"content_json_without_media_content_type":{"type":"string"},"type":{"type":"string"},"tags_name":{"type":"string"},"tags_text":{"type":"string"},"tags_text_lang":{"type":"string"},"created_at_timestamp":{"type":"string"},"added_seconds_ago":{"type":"string"},"updated_seconds_ago":{"type":"string"},"replies_count":{"type":"string"},"replies_view_count":{"type":"string"},"total":{"type":"string"},"up_votes":{"type":"string"},"down_votes":{"type":"string"},"current_user_action":{"type":"string"},"edited":{"type":"string"},"visible_to":{"type":"string"},"category":{"type":"string"},"category_path":{"type":"array","items":{"type":"string"}},"content":{"type":"string"}}},"examples":[{"kind":"saved_validation_records","saved_at":"2026-11-20T12:15:27.554Z","live_verified":false,"request":{"input":{}},"records_shown":2,"records_saved":2,"records":[{"added_seconds_ago":"5078","answer_preview":"Они настраивают ленты так, чтобы им попадался только позитивный контент. Это явление назвали «блумскроллинг» — полная противоположность «думскроллингу», когда каждая следующая новость оказывается хуже предыдущей. Молодые люди устали от постов, которые вызывают стресс и тревогу. Поэтому они блокируют такой контент, чтобы им чаще попадались добрые и забавные публикации. Некоторые даже создают новые аккаунты ради позитивного контента.","author_id":"347774224","category":"Информационные технологии","category_path":["Информационные технологии"],"content":"Они настраивают ленты так, чтобы им попадался только позитивный контент. Это явление назвали «блумскроллинг» — полная противоположность «думскроллингу», когда каждая следующая новость оказывается хуже предыдущей.","content_json_content_type":"imageGallery, paragraph","content_json_type":"doc","content_json_without_media_content_type":"paragraph","content_json_without_media_type":"doc","count":0,"count_2":0,"count_3":0,"count_4":0,"count_5":0,"created_at_timestamp":"2026-11-20T13:44:11.274182+03:00","current_user_action":"0","down_votes":"1","edited":"false","has_links":"false","has_mention":"false","id":"270787327","image_url":"https://otvet.cdn-vk.net/api/pictures/images/1d6ca3442bfdcbaaa8f079b41e14e92e48fe6fdc402248c0f7dc4727e4627d18fa8cf448a1dc32e648712542a4b6fbb7_small.jpg","posted_time":"1ч","related_title":"gym_master_99","related_url":"https://otvet.mail.ru/profile/gym_master_99","replies_count":"0","replies_view_count":"0","spaces_id":"2101","tags":"мнения #новости #стресс","tags_name":"novosti, stress","tags_text":"новости, стресс","tags_text_lang":"news, stress","title":"Молодёжь отказывается от негатива в соцсетях.","total":"0","type":"opinion","up_votes":"1","updated_seconds_ago":"5078","url":"https://otvet.mail.ru/question/270787327","visible_to":"0"},{"added_seconds_ago":"5725","answer_preview":"import numpy as np import matplotlib.pyplot as plt # 1. Создание одномерного массива аргумента (не менее 25 чисел) a = -12 b = 0 N = 100 # Берем 100 точек для плавного графика x = np.linspace(a, b, N) # 2. Создание одномерного массива функции f(x) y = 3 x *2 + 38 * x + 2 # 3. Поиск координат точки экстремума (минимума) # Находим индекс минимального значения в массиве y min_index = np.argmin(y) x_min = x[min_index] y_min = y[min_index] # Вывод результатов в консоль print(f\"Координаты точки экстремума: x = {x_min:.4f}, y = {y_min:.4f}\") print(\"Тип экстремума: МИНИМУМ (так как ветви параболы направлены вверх)\") # 4. Построение графика plt.figure(figsize=(10, 6)) # Строим график функции plt.plot(x, y, color='blue', linewidth=2, label='f(x) = 3x^2 + 38x + 2') # Наносим точку экстремума на график (красная звездочка) plt.plot(x_min, y_min, marker='*', color='red', markersize=12, label=f'Экстремум (min)\\n({x_min:.2f}; {y_min:.2f})') # Наносим координатную сетку plt.grid(True) # Подписываем оси и график plt.xlabel('Ось X') plt.ylabel('Ось Y') plt.title('График функции и точка экстремума (Вариант 5)') # Добавляем легенду plt.legend() # Показываем график plt.show ()","author_id":"342766877","category":"Информационные технологии","category_path":["Информационные технологии"],"content":"import matplotlib.pyplot as plt","content_json_content_type":"paragraph","content_json_type":"doc","content_json_without_media_content_type":"paragraph","content_json_without_media_type":"doc","count":-1,"count_2":-1,"count_3":-1,"count_4":-1,"count_5":1,"created_at_timestamp":"2026-11-20T13:33:28.086667+03:00","current_user_action":"0","down_votes":"1","edited":"true","has_links":"true","has_mention":"false","id":"270787280","image_url":"https://filin.mail.ru/pic?d=7HAYLCQZjSr-sd-Oh30TqFgltCCK1LNh4tdAhbYc0xgZ3i_OMcW7ik9PPJRfDP5jJd2U&size=small","posted_time":"1ч","related_title":"sultry_9620000","related_url":"https://otvet.mail.ru/profile/sultry_9620000","replies_count":"1","replies_view_count":"1","spaces_id":"2101","tags":"мнения","title":"Пятница чилл","total":"-1","type":"opinion","up_votes":"0","updated_seconds_ago":"5650","url":"https://otvet.mail.ru/question/270787280","visible_to":"0"}]}],"request_example":{"body":{"input":{"collection":"О любви без купюр"},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_231bf1ae51b44271ad5f514c/endpoints/generated_231bf1ae51b44271ad5f514c_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {\n    \"collection\": \"О любви без купюр\"\n  },\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_231bf1ae51b44271ad5f514c/endpoints/generated_231bf1ae51b44271ad5f514c_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/mail-spaces-api/","markdown":"https://cleanedweb.com/catalog/mail-spaces-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_231bf1ae51b44271ad5f514c/endpoints/generated_231bf1ae51b44271ad5f514c_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/mail-spaces-api/","markdown":"https://cleanedweb.com/catalog/mail-spaces-api/index.md","contract":"https://cleanedweb.com/catalog/mail-spaces-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
