{"name":"MyAPIs","description":"apis-cloud.net で公開している各種データを REST + JSON で返す API 群。","documentation":"/openapi.json","conventions":{"list":"一覧は { count, total, limit, offset, data } で返る","single":"1件はオブジェクトをそのまま返す","error":"エラーは { error: { code, message, hint } }","commonQuery":{"fields":"?fields=a,b で欲しいフィールドだけに絞る","pretty":"?pretty=1 で整形して返す","limit":"?limit= と ?offset= でページング（limit の上限は 1000）","sort":"?sort=<field>&order=asc|desc で並び替え","seed":"/random は ?seed= を付けると結果が決定的になる"}},"count":12,"apis":[{"slug":"prefectures","title":"都道府県","description":"日本の47都道府県。人口は令和2年（2020年）国勢調査、面積は国土地理院の全国都道府県市区町村別面積調（km²）。","url":"/prefectures","count":47,"idField":"code","fields":["code","name","kana","romaji","capital","capitalRomaji","region","area","population","isoCode"],"storage":"static","endpoints":[{"path":"/prefectures","description":"このAPIのメタ情報"},{"path":"/prefectures/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/prefectures/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/prefectures/search","description":"部分一致検索（対象: name, kana, romaji, capital, capitalRomaji, region）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/prefectures/fields","description":"フィールド名の一覧"},{"path":"/prefectures/getCode","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/prefectures/:code","description":"ID 指定で1件"},{"path":"/prefectures/:code/:field","description":"1件の特定フィールドだけ"}],"examples":["/prefectures/13","/prefectures/東京都","/prefectures/Tokyo","/prefectures/random","/prefectures/all?sort=population&order=desc&limit=5","/prefectures/getCapital","/prefectures/search?q=九州"]},{"slug":"eras","title":"元号","description":"大化（645年）から令和までの全元号。南北朝時代は court に「南朝」「北朝」を入れている（両朝で用いられた建武は南朝側の1件のみ収録）。改元年は前後の元号で重複する。継続中の元号は endYear と years が null で ongoing が true。","url":"/eras","count":248,"idField":"name","fields":["name","kana","romaji","startYear","endYear","period","court","ongoing","years"],"storage":"static","endpoints":[{"path":"/eras","description":"このAPIのメタ情報"},{"path":"/eras/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/eras/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/eras/search","description":"部分一致検索（対象: name, kana, romaji, period, court）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/eras/fields","description":"フィールド名の一覧"},{"path":"/eras/getName","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/eras/year/:year","description":"西暦からその年の元号を引く（改元年は複数返る）"},{"path":"/eras/:name","description":"ID 指定で1件"},{"path":"/eras/:name/:field","description":"1件の特定フィールドだけ"}],"examples":["/eras/令和","/eras/Genroku","/eras/year/1600","/eras/random","/eras/search?q=%E6%B1%9F%E6%88%B8","/eras/all?fields=name,startYear&limit=10"]},{"slug":"sekki","title":"二十四節気","description":"立春から大寒までの二十四節気。日付は太陽黄経で決まるため年によって1日前後する（approxDate は目安）。","url":"/sekki","count":24,"idField":"name","fields":["order","name","kana","romaji","season","approxDate","meaning"],"storage":"static","endpoints":[{"path":"/sekki","description":"このAPIのメタ情報"},{"path":"/sekki/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/sekki/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/sekki/search","description":"部分一致検索（対象: name, kana, romaji, season, meaning）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/sekki/fields","description":"フィールド名の一覧"},{"path":"/sekki/getOrder","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/sekki/:name","description":"ID 指定で1件"},{"path":"/sekki/:name/:field","description":"1件の特定フィールドだけ"}],"examples":["/sekki/立春","/sekki/10","/sekki/random","/sekki/all?fields=name,approxDate","/sekki/search?q=%E5%A4%8F"]},{"slug":"eto","title":"十二支","description":"十二支と、それぞれが表す動物・方角・時刻。yearMod12 は「西暦をこの数で割った余りがその年の干支」を表す（例: 2020 % 12 = 4 で子年）。","url":"/eto","count":12,"idField":"name","fields":["order","name","kana","animal","animalKana","romaji","english","direction","hour","yearMod12","recentYear"],"storage":"static","endpoints":[{"path":"/eto","description":"このAPIのメタ情報"},{"path":"/eto/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/eto/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/eto/search","description":"部分一致検索（対象: name, kana, romaji, english, animal, animalKana）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/eto/fields","description":"フィールド名の一覧"},{"path":"/eto/getOrder","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/eto/:name","description":"ID 指定で1件"},{"path":"/eto/:name/:field","description":"1件の特定フィールドだけ"}],"examples":["/eto/午","/eto/7","/eto/Horse","/eto/random","/eto/getAnimal"]},{"slug":"horoscope","title":"12星座","description":"西洋占星術の12星座。期間・四大元素（火地風水）・三区分・支配星つき。","url":"/horoscope","count":12,"idField":"name","fields":["order","name","kana","latin","english","symbol","from","to","element","quality","ruler"],"storage":"static","endpoints":[{"path":"/horoscope","description":"このAPIのメタ情報"},{"path":"/horoscope/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/horoscope/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/horoscope/search","description":"部分一致検索（対象: name, kana, latin, english, element, ruler）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/horoscope/fields","description":"フィールド名の一覧"},{"path":"/horoscope/getOrder","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/horoscope/:name","description":"ID 指定で1件"},{"path":"/horoscope/:name/:field","description":"1件の特定フィールドだけ"}],"examples":["/horoscope/獅子座","/horoscope/Leo","/horoscope/5","/horoscope/random","/horoscope/search?q=%E7%81%AB","/horoscope/getLatin"]},{"slug":"birthstones","title":"誕生石","description":"月ごとの誕生石。全国宝石卸商協同組合が2021年に改訂した日本の誕生石リストに基づく。","url":"/birthstones","count":12,"idField":"month","fields":["month","stones","stonesEn","meaning"],"storage":"static","endpoints":[{"path":"/birthstones","description":"このAPIのメタ情報"},{"path":"/birthstones/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/birthstones/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/birthstones/search","description":"部分一致検索（対象: stones, stonesEn, meaning）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/birthstones/fields","description":"フィールド名の一覧"},{"path":"/birthstones/getMonth","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/birthstones/:month","description":"ID 指定で1件"},{"path":"/birthstones/:month/:field","description":"1件の特定フィールドだけ"}],"examples":["/birthstones/4","/birthstones/random","/birthstones/all","/birthstones/getStones"]},{"slug":"yojijukugo","title":"四字熟語","description":"漢字四文字の熟語。出典が漢籍にあるものは source に典拠を記している。二字・五字の故事成語は /kotowaza にある。","url":"/yojijukugo","count":48,"idField":"word","fields":["word","kana","meaning","source"],"storage":"static","endpoints":[{"path":"/yojijukugo","description":"このAPIのメタ情報"},{"path":"/yojijukugo/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/yojijukugo/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/yojijukugo/search","description":"部分一致検索（対象: word, kana, meaning, source）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/yojijukugo/fields","description":"フィールド名の一覧"},{"path":"/yojijukugo/getWord","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/yojijukugo/:word","description":"ID 指定で1件"},{"path":"/yojijukugo/:word/:field","description":"1件の特定フィールドだけ"}],"examples":["/yojijukugo/一期一会","/yojijukugo/random","/yojijukugo/search?q=%E8%AB%96%E8%AA%9E","/yojijukugo/all?fields=word,kana","/yojijukugo/getWord"]},{"slug":"kotowaza","title":"ことわざ・故事成語","description":"日本のことわざと、漢籍などに由来する故事成語。type でどちらかを区別できる。四字熟語は /yojijukugo にある。","url":"/kotowaza","count":54,"idField":"text","fields":["text","kana","meaning","type","source"],"storage":"static","endpoints":[{"path":"/kotowaza","description":"このAPIのメタ情報"},{"path":"/kotowaza/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/kotowaza/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/kotowaza/search","description":"部分一致検索（対象: text, kana, meaning, type, source）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/kotowaza/fields","description":"フィールド名の一覧"},{"path":"/kotowaza/getText","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/kotowaza/:text","description":"ID 指定で1件"},{"path":"/kotowaza/:text/:field","description":"1件の特定フィールドだけ"}],"examples":["/kotowaza/急がば回れ","/kotowaza/random","/kotowaza/search?q=%E6%95%85%E4%BA%8B%E6%88%90%E8%AA%9E","/kotowaza/all?fields=text,meaning","/kotowaza/getType?unique=1"]},{"slug":"quotes","title":"名言","description":"古今東西の名言。出典が明確でないものは source に「帰属には諸説あり」と記している。D1 に格納。","url":"/quotes","count":60,"idField":"id","fields":["id","text","author","authorKana","lang","category","source"],"storage":"d1","endpoints":[{"path":"/quotes","description":"このAPIのメタ情報"},{"path":"/quotes/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/quotes/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/quotes/search","description":"部分一致検索（対象: text, author, authorKana, category, source）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/quotes/fields","description":"フィールド名の一覧"},{"path":"/quotes/getId","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/quotes/:id","description":"ID 指定で1件"},{"path":"/quotes/:id/:field","description":"1件の特定フィールドだけ"}],"examples":["/quotes/1","/quotes/random","/quotes/all?limit=5","/quotes/search?q=Dijkstra","/quotes/getAuthor?unique=1"]},{"slug":"shogi-pieces","title":"将棋の駒","description":"将棋の駒8種と成駒6種。id は USI 表記（成駒は先頭に +）、count は片方の陣営の初期枚数。","url":"/shogi-pieces","count":14,"idField":"id","fields":["id","name","kana","romaji","abbr","english","count","isPromoted","promotesTo","moves","note"],"storage":"static","endpoints":[{"path":"/shogi-pieces","description":"このAPIのメタ情報"},{"path":"/shogi-pieces/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/shogi-pieces/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/shogi-pieces/search","description":"部分一致検索（対象: name, kana, romaji, english, moves, note）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/shogi-pieces/fields","description":"フィールド名の一覧"},{"path":"/shogi-pieces/getId","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/shogi-pieces/:id","description":"ID 指定で1件"},{"path":"/shogi-pieces/:id/:field","description":"1件の特定フィールドだけ"}],"examples":["/shogi-pieces/R","/shogi-pieces/飛車","/shogi-pieces/%2BP","/shogi-pieces/random","/shogi-pieces/all?fields=name,moves","/shogi-pieces/search?q=%E9%87%91%E5%B0%86"]},{"slug":"http-status","title":"HTTP ステータスコード","description":"IANA に登録されている HTTP ステータスコード 62 種。日本語の説明つき。","url":"/http-status","count":62,"idField":"code","fields":["code","name","ja","category","spec","description"],"storage":"static","endpoints":[{"path":"/http-status","description":"このAPIのメタ情報"},{"path":"/http-status/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/http-status/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/http-status/search","description":"部分一致検索（対象: name, ja, category, description）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/http-status/fields","description":"フィールド名の一覧"},{"path":"/http-status/getCode","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/http-status/:code","description":"ID 指定で1件"},{"path":"/http-status/:code/:field","description":"1件の特定フィールドだけ"}],"examples":["/http-status/404","/http-status/418","/http-status/random","/http-status/search?q=%E3%82%AD%E3%83%A3%E3%83%83%E3%82%B7%E3%83%A5","/http-status/all?fields=code,name"]},{"slug":"colors","title":"CSS 名前付き色","description":"CSS Color Module Level 4 で定義された名前付き色 148 種。hex から rgb / hsl / 相対輝度を計算して返す。","url":"/colors","count":148,"idField":"name","fields":["name","hex","group","rgb","r","g","b","hsl","h","s","l","luminance","isDark"],"storage":"static","endpoints":[{"path":"/colors","description":"このAPIのメタ情報"},{"path":"/colors/all","description":"全件取得","query":["limit","offset","sort","order","fields","pretty"]},{"path":"/colors/random","description":"ランダムに1件（?count=n で複数、?seed= で再現可能）","query":["count","seed","fields","pretty"]},{"path":"/colors/search","description":"部分一致検索（対象: name, hex, group）","query":["q","limit","offset","sort","order","fields","pretty"]},{"path":"/colors/fields","description":"フィールド名の一覧"},{"path":"/colors/getName","description":"そのフィールドの全件分の値（?id= を付けると1件分）","query":["id","unique","pretty"]},{"path":"/colors/:name","description":"ID 指定で1件"},{"path":"/colors/:name/:field","description":"1件の特定フィールドだけ"}],"examples":["/colors/tomato","/colors/%23FF6347","/colors/random","/colors/search?q=blue","/colors/all?fields=name,hex&limit=10","/colors/getHex"]}],"tools":{"url":"/tools","count":4,"data":[{"slug":"dice","title":"サイコロ","url":"/tools/dice/random"},{"slug":"uuid","title":"UUID","url":"/tools/uuid/random"},{"slug":"password","title":"パスワード","url":"/tools/password/random"},{"slug":"lorem","title":"ダミーテキスト","url":"/tools/lorem/random"}]}}