MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "query": {
        "normalized": [
            {
                "from": "Main_Page",
                "to": "Main Page"
            }
        ],
        "pages": {
            "1": {
                "pageid": 1,
                "ns": 0,
                "title": "Main Page",
                "cirrusdoc": [
                    {
                        "index": "ballotpedia_content_first",
                        "type": "_doc",
                        "id": "1",
                        "version": [],
                        "source": {
                            "version": 10210556,
                            "wiki": "ballotpedia",
                            "namespace": 0,
                            "namespace_text": "",
                            "title": "Main Page",
                            "timestamp": "2025-01-14T06:21:12Z",
                            "create_timestamp": "2007-05-30T17:35:58Z",
                            "category": [
                                "One-off pages, active"
                            ],
                            "external_link": [
                                "https://docs.cdn.yougov.com/7kvpozbozh/econTabReport.pdf",
                                "https://cdn.cnn.com/cnn/2020/images/09/02/rel9a.-.2020.pdf",
                                "https://emersonpolling.reportablenews.com/pr/august-2020-presidential-race-tightens-after-party-conventions",
                                "https://thehill.com/hilltv/what-americas-thinking/514841-what-americas-thinking-september-2-2020",
                                "https://www.rasmussenreports.com/public_content/politics/mood_of_america/right_direction_wrong_track_june09",
                                "https://d3nkl3psvxxpe9.cloudfront.net/documents/econTabReport_FJyfDu9.pdf",
                                "https://harvardharrispoll.com/wp-content/uploads/2025/12/HHP_Dec2025_KeyFindings.pdf",
                                "https://pro.morningconsult.com/trackers/donald-trump-congress-policy-republicans-polling"
                            ],
                            "outgoing_link": [
                                "Ballotpedia's_Polling_Indexes",
                                "Presidential_election,_2020",
                                "Ballotpedia's_2020_Election_Help_Desk"
                            ],
                            "template": [
                                "Template:HOTP Front Page Banner",
                                "Template:ElectionsResultsFrontPageLink",
                                "Template:Main page email updates promo",
                                "Template:Email Updates Front Page Banner Two",
                                "Template:Front page polls 2",
                                "Template:Polling table",
                                "Template:Current polling data",
                                "Template:Newsletters",
                                "Template:FrontPageNewsletters",
                                "Template:Greener",
                                "Template:Main Page Tile Trivia",
                                "Template:Partners promo",
                                "Template:Top stories",
                                "Template:Top stories display",
                                "Template:FrontPageImages",
                                "Template:FrontPageCenterImages",
                                "Template:FrontPageResearchImages",
                                "Template:FrontPageUpcomingDates",
                                "Template:FrontPageTwoColumnLinks",
                                "Template:DisplayFrontPageTwoColumnLinks",
                                "Template:Sample ballot promo front page large",
                                "Template:Main Page Real Clear",
                                "Template:FrontPageNewsWidget",
                                "Template:FrontpagePodcastSetup",
                                "Template:FrontpagePodcast",
                                "Template:FrontPageUpcomingElections",
                                "Template:FrontPageSmallSignUp",
                                "Template:Front page polls 4",
                                "Template:FrontPageNewslettersPromoSetup",
                                "Template:FrontPageNewslettersPromo",
                                "Template:WeeklyVideoLink",
                                "Template:FrontPageTrendingArticles",
                                "Template:OurMissionFrontPage",
                                "Template:FrontPageTwoColumnLinks 2",
                                "Template:DisplayFrontPageTwoColumnLinks 2",
                                "Template:FrontPageMyVoteCTA",
                                "Template:Sample Ballot Lookup Front Page Banner",
                                "Template:FrontPageThermometer",
                                "Template:FrontPagePressRelease"
                            ],
                            "text": "Five ballot initiatives filed in California to regulate artificial intelligence and its developers See Press Release Ohio Gov. Mike DeWine (R) signs bill requiring absentee ballots to be received by Election Day It\u2019s the 12 Days of Ballotpedia! Your gift powers the trusted, unbiased information voters need heading into 2026. Donate now! America's most trusted source for accurate election information Everything you need to know about what is happening in the White House Your resource for information on statewide ballot measures in 2025 Your one-stop shop for the midterms \u200e More From Ballotpedia Ballot measures California voters decided on 42 local ballot measures this year \u2014 the lowest total for an odd-numbered year in at least a decade Cookie election Chocolate Chip wins Ballotpedia's 2025 Cookie Election Mayoral Retirements Washington D.C.\u2019s Muriel Bowser is the first mayor of a major city to announce retirement in 2026 Congressional Review Act President Trump signed a record number of Congressional Review Act resolutions in 2025 Ballotpedia It\u2019s your turn \u2014 tell Ballotpedia what you think Elections Elections Ballotpedia is covering in January 2026 Ballot Measures Colorado voters will decide on a ballot measure increasing penalties for the sale and possession of fentanyl Election Analysis Number of state legislators seeking election to other offices at eight-year low State Executive Retirements Filing deadlines have passed in three states \u2014 here\u2019s a look at the state executives not running for re-election ON YOUR SMARTPHONE? TRY OUR BALLOT PREVIEW APP DOWNLOAD THE APP BALLOTPEDIA NEWSLETTERS Daily Brew Hall Pass Weekly Brew Economy and Society Checks and Balances Robe & Gavel The Ballot Bulletin State Ballot Measure Monthly See all Newsletters Get the latest news from Ballotpedia in your inbox. Submit your email address below and we'll help you choose from over a dozen different topics. Please complete the Captcha. Thank you! Today's featured newsletter: Daily Brew 19 December \u200e OUR MISSION Ballotpedia delivers unbiased information to educate and inspire American voters. VOLUNTEER CAREERS Let Ballotpedia Deliver the News Straight to your inbox. Please complete the Captcha above Thank you! TRENDING ARTICLES Presidential candidates, 2028 List of U.S. House incumbents who are not running for re-election in 2026 United States Congress elections, 2026 Special elections to the 119th United States Congress (2025-2026) Donald Trump's Cabinet, 2025 BALLOTPEDIA NEWS Sen. Cynthia Lummis becomes the ninth U.S. senator to announce she won't seek re-election in 2026 Eight candidates are running in the Republican primary for Texas' 19th Congressional District on March 3, 2026 Ohio Gov. Mike DeWine signs bill requiring absentee ballots to be received by Election Day Kat Abughazaleh (D), Daniel K. Biss (D), Laura Fine (D), and 14 others are running in the Democratic primary for Illinois' 9th Congressional District on March 17, 2026 How the Supreme Court\u2019s Tariffs Case Could Redefine Presidential Power and Trade w/ The Brennan Center's Elizabeth Goitein Democratic Wave? 2025 Election Takeaways on Polling Misses, Redistricting, and What\u2019s Next Prop 50, Explained \u2014 Inside California\u2019s Redistricting Push w/ CalMatters Maya C. Miller Measuring the Potential Impact of Redistricting w/ Cook Political Report's Erin Covey Ballotpedia's Poll Scroll Previous Next \u200e \"); // Remove after dev $('#firstHeading').hide(); }); });",
                            "source_text": "{{#setmainimage:File:Filling_out_a_ballot.jpeg}}\n<metadesc>Ballotpedia is the digital encyclopedia of American politics and elections. Our goal is to inform people about politics by providing accurate and objective information about politics at all levels of government.</metadesc>\n<div class=\"Main-Page-Container container\"><SkiplistFrontpage /></div>\n<css> \n .top-stories {box-shadow:none;}\n.list-group li { margin-bottom:15px!important;font-weight:400;  }\n.item-link {\n  padding-top: 15px;\n  padding-left: 15px;\n  padding-right: 15px;\n  border:solid transparent 2px;\n}\n#trending-articles-headline {\n   margin-left:10px;\n}\n\n#headline {\n   margin-top:5px;\n}\n.Main-Page-Promo{\nmargin-top:25px;\nmargin-left:25px;\nmargin-right-25px;\n\n\n}\n.Main-Page-Trivia {\n margin-top:10px;\n margin-left:25px;\nmargin-right-25px;\n \n}\ndiv.Main-Page-More-Columns.more-column { margin:left 20px auto; margin-top:0!important; float:left; }\n.Main-Page-Container .Main-Page-More-Header { margin:20px auto; }\n#main-sidebar-right { margin-top:2px;}\n.main-story-link { border-left:2px solid #CCC!important; }\n.main-story-link:first-child { border-left:0!important; }\n#top-story { border-bottom:2px solid #CCC; margin-bottom:16px; }\n.Main-Page-Tile-Title a { font-weight:bold!important; font-size:150%!important; color:#000!important; }\n.Main-Page-Tile-Title a:hover { text-decoration:none!important; }\n.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol { margin: 0.3em 0 0 0.3em; }\n\n/* newsletter */\n.Main-Page-Tile.medium.newsletter {box-shadow:  3px 3px 5px 1px #ccc; -webkit-box-shadow: 3px 3px 5px 1px #ccc;\n  -moz-box-shadow: 3px 3px 5px 1px #ccc; }\ndiv.Main-Page-Tile medium newsletter {height:100px!important; }\ndiv.newsletter-title { margin-left:100px;padding:20px; }\ndiv.newsletter-date { height:100px;width:100px;margin:0.5em auto;color:white;float:left;text-align:center;font-size:120%;line-height:1.7em;padding-top:15px;opacity:.85 }\ndiv.Main-Page-Newsletter-Columns.newsletter-column {margin-top:0!important; }\ndiv.Main-Page-Newsletter-Columns.newsletter-column a:hover { text-decoration:none!important; }\n@media screen and (min-width:540px) {\n     div.Main-Page-More-Columns.more-column { clear:none!important; }\n}\ndiv.newsletter-row { margin-bottom:-30px; }\n   \n#siteNotice {\n  display: none;\n}\n</css>\n\n<html>\n<script>\n\n(window.RLQ=window.RLQ||[]).push(function(){\n   $( document ).ready(function() {\n   $('#8').addClass('col-md-8');\n   $('#8').removeClass('col-sm-8');\n   //$('#8').css('padding-right', '50px');\n   $('#4').addClass('col-md-4');\n   $('#4').removeClass('col-sm-4');\n\n\n\n\n   $('#8 .container-fluid:nth-child(1) .url-class:nth-child(2) ').prependTo('#8 .container-fluid:nth-child(1) .item-link');\n   $('#8 .container-fluid:nth-child(1) .item-link').css('padding-top', '0');\n\n// Move SB to top of page\n//$('#two-column-links').prependTo('#8');\n\n$('#12-more-from .headline-class span').remove();\n\n\n$('#12-more-from .headline-class').append(\"<p style='padding-left: 6px'><span style='font-weight: 700; font-size: 28px; color: #0645AD'>EXPLORE MORE </span> <span style='font-weight: 400; font-size: 28px; color: #F0A236'>ON BALLOTPEDIA</span></p>\");\n\n    // Remove after dev\n    $('#firstHeading').hide();\n\n });\n});\n\n</script>\n<style>\n@media screen and (min-width: 1190px), print and (min-width: 1190px){\n#contentwrapper {\n    width: calc(100% - 200px) !important;\n    max-width: calc(100% - 200px) !important;\n    left: 100px;\n}\n}\n\n@media screen and (min-width: 992px) {\n[id=\"8\"] {\n  padding-right: 50px;\n}\n}\n\n.title-large-class {\n    color: #333;\n    font-size: 32px;\n    font-weight: 600;\n    font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;\n    line-height: 1.2em;\n    padding-bottom: 0;\n}\n\n.item-link {\n  padding-top: 0;\n}\n\n.title-large-image {\n   border: 1px solid #908B8B;\n}\n\n.title-image {\n    margin-bottom: 10px;\n    border: 1px solid #908B8B;\n}\n.title-class {\n  font-weight: 500;\n}\n\n[id=\"4-1-main-story-link\"], [id=\"4-2-main-story-link\"], [id=\"4-3-main-story-link\"] {\n  margin-bottom: 15px;\n}\n\n.small-signup-container, .trending-articles-container, #FrontPageRSS, #FrontPageUpcomingElections, .our-mission-container { width: 300px; }\n\n\n@media screen and (max-width: 991px) {\n.small-signup-container, .trending-articles-container, #FrontPageRSS, #FrontPageUpcomingElections, .our-mission-container { width:  auto; }\n\n.trending-articles-container { text-align: center; }\n.socials-container {justify-content: center;}\n.video-of-the-week-container, .poll-container-2 { margin-right: auto; margin-left: auto;}\n\n}\n\n@media screen and (max-width: 767px) {\n.small-signup-container, .trending-articles-container, #FrontPageRSS, #FrontPageUpcomingElections, .our-mission-container { width:  auto; }\n\n.trending-articles-container { text-align: center; }\n.two-links-container { text-align: center }\n\n.title-large-class { font-size: 28px }\n\n.border-left { border: 1px solid white;}\n\n}\n\n#FrontPageRSS, .our-mission-container, #FrontPageUpcomingElections {\n  margin-top: 40px;\n}\n\n[id=\"12-more-from\"] {\n  margin-top: 40px;\n}\n\n#FrontPageUpcomingElections {\n  border-left: 5px solid #0645AD;\n}\n\n\n#FrontPageUpcomingElections button {\n    background: #0645AD;\n    border-radius: 4px;\n    font-weight: 600;\n    text-decoration: none;\n    padding: 4px;\n    font-size: 12px;\n    text-transform: uppercase;\n    width: 100%;\n    border: none !important;\n}\n\n#FrontPageUpcomingElections .election-description {\n    font-size: 14px;\n}\n\n#FrontPageUpcomingElections table  {\n    padding-top: 10px;\n}\n\n[id=\"12-more-from\"] div.headline-class {\n    background: none;\n    text-align: left;\n    margin-top: 10px;\n    text-transform: uppercase;\n    vertical-align: middle;\n    padding: 5px 10px;\n    margin: 5px 0px 5px 0px;\n    min-width: 175px;\n    width: 100% !important;\n    line-height: 1.2em;\n    margin-bottom: 0;\n    padding-bottom: 0;\n}\n\n[id=\"12-more-from\"] .caption-class {\n  margin-bottom: 0 !important;\n}\n\n[id=\"12-more-from\"] .item-link {\n  margin-bottom: 10px !important;\n}\n\n</style>\n\n<script>\n$(\".url-class\").on('click', function(event){\n    let hrefURL = $(this).attr('href');\n     if (hrefURL.includes('Buy_Political_Data')) {\n\tga('send', 'event', 'Data Sales', 'Data Sales Frontpage Tile Click');\n      }\n});\n</script>\n\n<script>\n$('#4-1-main-story-link').on('click', '.url-class', function(event){\n    let hrefURL = $(this).attr('href');\n     const url = new URL(hrefURL);\n     const path = url.pathname.substring(1);\n\tga('send', 'event', 'FPTileTracking', 'First tile click');\n});\n</script>\n\n<script>\n$(\".url-class\").on('click', function(event){\n    let hrefURL = $(this).attr('href');\n     const url = new URL(hrefURL);\n     const path = url.pathname.substring(1);\n     if (hrefURL.includes('Trivia')) {\n\tga('send', 'event', 'FPTracking', `${path}`);\n      }\n});\n</script>\n\n</html>\n{{FrontPagePressRelease}}\n[[Category:One-off pages, active]]",
                            "text_bytes": 6847,
                            "content_model": "wikitext",
                            "language": "en",
                            "heading": [],
                            "opening_text": "Five ballot initiatives filed in California to regulate artificial intelligence and its developers See Press Release Ohio Gov. Mike DeWine (R) signs bill requiring absentee ballots to be received by Election Day It\u2019s the 12 Days of Ballotpedia! Your gift powers the trusted, unbiased information voters need heading into 2026. Donate now! America's most trusted source for accurate election information",
                            "auxiliary_text": [
                                "Presidential approval 46% Presidential disapproval 53% Source: Rasmussen Reports (December 11-17, 2025), Margin of error: +/-2, Sample size: 1,500",
                                "Right direction 37% Wrong direction 56% Source: Economist/YouGov (December 12-15, 2025), Margin of error: +/-3.1, Sample size: 1,453",
                                "Congressional approval 35% Congressional disapproval 56% Source: Harvard-Harris (December 2-4, 2025), Margin of error: +/-2, Sample size: 2,204",
                                "Democratic candidate 45% Republican candidate 44% Source: Morning Consult (December 12-15, 2025), Margin of error: +/-2, Sample size: 2,201",
                                "Presidential approval 42% Congressional approval 24%\u25b2 Direction of country 37%\u25bc Source: Average of recent polls as of December 23, 2025"
                            ],
                            "defaultsort": null,
                            "display_title": null,
                            "redirect": [
                                {
                                    "namespace": 0,
                                    "title": "Ballotpedia hyperlinks"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Getting Started on Ballotpedia"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Ballotpedia's Community Norms"
                                },
                                {
                                    "namespace": 0,
                                    "title": "User page"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Tag Help Page"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Paul's Tag Help Page"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Interwiki link"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Link"
                                },
                                {
                                    "namespace": 0,
                                    "title": "External link"
                                },
                                {
                                    "namespace": 0,
                                    "title": "BP:CAT"
                                },
                                {
                                    "namespace": 0,
                                    "title": "BP:EDIT"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Cheat sheet"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Image categories"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Getting Started"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Judgepedia:Stub"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Sprout"
                                },
                                {
                                    "namespace": 0,
                                    "title": "Main page"
                                }
                            ],
                            "incoming_links": 9460
                        }
                    }
                ]
            }
        }
    }
}