イベント API
カンファレンス、コンサート、ワークショップなどのイベント。売り切れのものも無料のものもあります。メモリ上の固定データで、書き込みはアプリの再起動まで残ります。
あなたのアカウントでこれらのエンドポイントが使えます。各エンドポイントのページの Try it でリクエストを送れます。
- GET
https://api.testingapis.com/api/EventsList events with filtering, sorting, search and paginationList events with filtering, sorting, search and pagination. - POST
https://api.testingapis.com/api/EventsCreate an eventCreate an event. - GETHEAD
https://api.testingapis.com/api/Events/{id}Get an event by IDGet an event by ID (HEAD returns the headers only). - PUT
https://api.testingapis.com/api/Events/{id}Replace an eventReplace an event. - PATCH
https://api.testingapis.com/api/Events/{id}Partially update an event with a JSON merge patchPartially update an event with a JSON merge patch. - DELETE
https://api.testingapis.com/api/Events/{id}Delete an eventDelete an event. - POST
https://api.testingapis.com/api/Events/bulkCreate up to 100 events in one requestCreate up to 100 events in one request. - DELETE
https://api.testingapis.com/api/Events/bulkDelete several events by IDDelete several events by ID. - GET
https://api.testingapis.com/api/Events/countCount all eventsCount all events. - GET
https://api.testingapis.com/api/Events/upcomingList events starting on or after a date, soonest firstList events starting on or after a date, soonest first.
リクエストの例
List events with filtering, sorting, search and pagination. 完全なリファレンスと Send ボタン(英語).
cURL
curl -X GET "https://api.testingapis.com/api/Events?limit=2"レスポンス · 200 OK
[
{
"id": 1,
"name": "DevConf 2026",
"category": "conference",
"venue": "Moscone Center",
"city": "San Francisco",
"startsAt": "2026-10-14T09:00:00Z",
"endsAt": "2026-10-16T18:00:00Z",
"price": 499.0,
"capacity": 5000,
"ticketsSold": 4312,
… (3 more lines)サインインして詳細を見る
これらのエンドポイントのパラメータ、リクエストとレスポンスの例、ライブの Try it パネルは、サインインしたメンバー向けです。アカウントは無料で、数秒で作成できます。
絞り込み、並べ替え、ページネーション
一覧エンドポイントは limit、page、offset、sort、order、q を受け付け、任意のフィールド名を完全一致の絞り込みに使えます。件数は X-Total-Count ヘッダーで返ります。書き込みはサーバーを再起動するまでメモリに残るので、テストで自由にレコードを作成・変更・削除できます。 クエリパラメータのリファレンス.