Web Content Extraction API

The Web Content Extraction API Extracts core content and metadata from news articles and blogs easily, providing structured data for analysis or integration into applications.

About the API: 

With Article Web Content Extraction API, accessing the main content and metadata of news or blog posts becomes simple and efficient. Designed to capture the essential information of an article, this API allows you to obtain the main text, title, author, publication date and other key data from a given URL. Ideal for users who need to integrate content into their applications without dealing with the complexity of a manual scraping process, this API provides well-structured JSON responses. Applications can use the data for multiple purposes, such as content analysis, creating automatic summaries or public opinion studies on social networks. The API is compatible with popular news sites and blogs, making it a reliable tool for those looking to optimize their workflows with up-to-date and easily accessible data.

Documentación de la API

Endpoints


Sends a GET request with the url parameter to receive the main content and metadata of an article.The response returns data in structured JSON.



                                                                            
GET https://zylalabs.com/api/5376/web+content+extraction+api/6957/article+content
                                                                            
                                                                        

Article Content - Características del Endpoint

Objeto Descripción
url [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            [{"url":"https://www.nytimes.com/athletic/5891368/2024/11/01/inter-miami-neymar-move/","title":"Gerardo Martino dismisses speculation about Neymar joining Messi, Suarez at Inter Miami","description":"Inter Miami coach Gerardo Martino said speculation about Neymar joining Inter Miami is just that — speculation — and would likely need a change in Major League Soccer (MLS) salary rules to be a real possibility.\nSpeaking at the team’s training session before Saturday’s playoff game in Atlanta, Martino was asked about the possibility of Neymar joining the team in 2025 following a Wall Street Journal report that the Brazilian winger purchased a waterfront lot in Miami for $26 million.\n&#8220;Everyone that buys at home here is going to come to play?” Martino asked, with a laugh. \n“I...","links":["https://www.nytimes.com/athletic/5891368/2024/11/01/inter-miami-neymar-move/"],"image":"https://static01.nyt.com/athletic/uploads/wp/2024/11/01142712/GettyImages-2180026734-1-scaled-e1730485664868.jpg?width=1200&height=630&fit=cover","content":"<div><p><span>Inter Miami coach Gerardo Martino said speculation about Neymar joining Inter Miami is just that — speculation — and would likely need a change in Major League Soccer (MLS) salary rules to be a real possibility.</span></p><p><span>Speaking at the team’s training session before Saturday’s playoff game in Atlanta, Martino was asked about the possibility of Neymar joining the team in 2025 following a <a target=\"_blank\" href=\"https://www.wsj.com/real-estate/luxury-homes/neymar-miami-home-ed7b99a6\">Wall Street Journal report</a> that the Brazilian winger purchased a waterfront lot in Miami for $26 million.</span></p><p><span>“Everyone that buys at home here is going to come to play?” Martino asked, with a laugh. </span></p><p><span>“</span><span>I arrived in Barcelona at the same time as [Neymar]. It was a good year and for me being able to coach such highly-regarded players will always be a very special memory. Nothing more than that,” he said.</span></p><p><span>Reporters continued to press Martino on the potential for a reunion considering the fact that four former Barcelona players — Lionel Messi, Luis Suarez, Jordi Alba and Sergio Busquets — have already reunited with the MLS club in South Florida.</span></p><p><span>Could he imagine a scenario with all five together?</span></p><p><span>“With [Lionel Messi] and the rest of the boys already here, anything can happen,” Martino said. “What I can’t imagine is if the league doesn’t make the salary cap more flexible, how it would be carried out. After writing it or saying it in the media, it’s all good, nothing happens, it doesn’t have any consequences. But what would the implementation be like? No one explains that. And the reality is that if there is something that the MLS has, it is that the rules are strict and can’t be broken, unless the MLS decides to change.”</span></p><p><span>“What’s happening is throwing out names just to throw them out.”</span></p><p><span>A reporter pointed out a recent report from </span><i><span>The Athletic</span></i><span> that <a target=\"_blank\" href=\"https://www.nytimes.com/athletic/5865369/2024/10/23/mls-calendar-fall-spring/\">MLS is considering changing the format of its calendar as early as 2026</a>, and Martino quipped that those changes would be in two years’ time, not a few months.</span></p><p><span>“The truth is that one cannot talk so easily and freely about whether a player could come or not,” Martino said. “It seems to me that when we talk about this, another type of support is needed. We cannot talk or mention a player because he bought a house here or has a girlfriend from Fort Lauderdale.</span></p><p><span>“It’s nonsense, you have to speak conclusively. First you have to analyze what the league offers and if this is really possible. Starting from that base, today this is impossible, so there is no reason to continue the conversation.”</span></p><h2><strong>What would Miami need to do to sign Neymar?</strong></h2><p><span>Martino is right. Under MLS rules, Neymar could not fit on to Inter Miami’s roster as it’s currently constructed — at least not as a designated player.</span></p><p><span>In MLS, teams are heavily restricted in how their owners are able to spend money on rosters, with the bulk of the outlay focused on the top three to six spots on the roster. </span></p><p><span>Teams are given two options of how to build their roster. They can have three designated players (DPs): players whose budget hit, calculated by acquisition costs and salary, are unlimited, but who hit the cap at the “maximum budget charge;” and three under-22 initiative players: players aged 22 or younger whose acquisition costs do not count toward the cap, but whose salary is restricted to the league’s “maximum salary budget charge.”</span></p><p><span>Teams can also opt to carry just two designated players and have four “U-22 players.” Those teams also receive a payment of up to $2 million in “allocation money” which is, essentially, an accounting currency that provides extra cap space in the form of “dollars”.</span></p><p><span>OK, take a breath. Rub your eyes. </span></p><p><span>Let’s try to sort out what that means for Miami.</span></p><p><span>Currently, Inter Miami have opted for the 2-and-4 format: two DPs, Lionel Messi and Sergio Busquets, and four U-22s: Tomás Avilés, Diego Gómez, Federico Redondo and Benjamin Cremaschi.</span></p><p><span>It’s important to recognize that this format opens up more cap space for teams because U-22 players hit the budget at a lower cap number and the league provides that $2 million in GAM, which can be used to buy down other players’ cap hits. </span></p><p><span>In 2025, DPs will hit the cap at $743,750, while U-22s will hit the cap at either $150,000 (aged 20 or below) or $200,000 (aged 21 or 22). Which means Inter Miami is saving about $550,000 in cap space by taking a fourth U-22 rather than a third DP — and that’s without accounting for the extra $2 million in GAM. That matters for Inter Miami because they are carrying multiple players who make significant money, but aren’t DPs, including Alba, Suarez, Julian Gressel and Nico Freire.</span></p><p><span>In order to fit Neymar, Inter Miami would need one of two scenarios to play out. </span></p><p><span>The first is easy: Neymar would have to agree to come on a deal similar to Alba and Suarez. That is, take a discount to play with his friends. That was made easier for Alba, in part, because he was being paid out many millions of dollars still from Barcelona. Neymar is out of contract in Saudi Arabia in the summer. Would there be a payout if he agreed to leave early? Would he be willing to make a maximum of $1.744 million in 2025? </span></p><p><span>If so, he could fit — as long as Miami found a way to cut salary elsewhere to accommodate his arrival.</span></p><p><span>Second, Miami could opt to switch to a 3-and-3 format: three designated player and three U-22s. This would be very difficult to achieve on multiple levels. First, Miami would have to get rid of not one, but two U-22s. So while Gomez’s sale to Brighton seems to be all wrapped up for January, Miami would have to move another U-22 because Facundo Farias is on a U-22 deal and will be coming back from his season-ending injury.</span></p><p><span>Then, after selling or trading a U-22 player, Miami would have to make sure they had the requisite cap space open to accommodate a third DP hitting the books at that $743,750 — which, in theory, could be easier than taking him on that $1.744 number, but not when you get rid of the $2 million in allocation money the team is getting from MLS in the 2-and-4 format. </span></p><p><span>In other words, making Neymar a DP would likely necessitate multiple player sales, both from the team’s arsenal of U-22 players and also from the rest of the roster.</span></p><p><span>Not impossible, but difficult. And complicated. </span></p><p><em>(Francois Nel/Getty Images)</em></p>\n</div><div><p><span><strong><a href=\"https://www.nytimes.com/athletic/author/paul-tenorio/\" target=\"_blank\">Paul Tenorio</a></strong>  is a senior writer for The Athletic who covers soccer. He has previously written for the Washington Post, the Orlando Sentinel, FourFourTwo, ESPN and MLSsoccer.com.</span> <span>Follow Paul on Twitter <strong><a target=\"_blank\" href=\"https://twitter.com/PaulTenorio\">@PaulTenorio</a></strong></span></p></div>","author":"Paul Tenorio","favicon":"https://www.nytimes.com/athletic/static/img/athletic-icon-144x144.png","source":"nytimes.com","published":"2024-11-01t18:37:31+00:00","ttr":222,"type":"article"}]
                                                                                                                                                                                                                    
                                                                                                    

Article Content - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/5376/web+content+extraction+api/6957/article+content?url=https://www.nytimes.com/athletic/5891368/2024/11/01/inter-miami-neymar-move/' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Web Content Extraction API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Web Content Extraction API FAQs

Send the URL of the article to be analyzed as a parameter to obtain the main content and metadata.

The Web Content Extraction it is an API that extracts content and metadata from news articles and blogs in a structured format.

Receives an article URL and returns the main content, title, author, and other metadata in JSON.

Create automatic summaries of news and blogs. Collect data for content analysis. Monitor news and blogs for public opinion analysis.

190 requests per minute on all plans

There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.

The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.

The API returns detailed information about the age and history of a domain, including years, months and days since its creation, as well as expiration and update dates.

The Article Content endpoint returns structured data including the main text, title, author, publication date, description, links, and images associated with the article.

Key fields in the response data include "url," "title," "description," "links," and "image," which provide essential information about the article.

The response data is organized in a JSON format, with each article's information encapsulated in an object containing relevant fields for easy access and integration.

The endpoint provides information such as the article's main content, title, author, publication date, and associated media, making it suitable for various analytical purposes.

Users can customize their requests by specifying the URL of the article they wish to analyze, allowing for targeted extraction of content and metadata.

The data is sourced from popular news sites and blogs, ensuring a wide range of current and relevant content for users.

Data accuracy is maintained through automated extraction processes that are regularly updated to adapt to changes in website structures and content formats.

Typical use cases include content analysis, automatic summarization of articles, and monitoring public opinion trends based on news and blog content.

General FAQs

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.

Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]


Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.

La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.

Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]

Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.

Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.

Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.

Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.

Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.

Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.

El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.

Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.

Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.

Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.

Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.

Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.

 Nivel de Servicio
100%
 Tiempo de Respuesta
2.381ms

Categoría:


APIs Relacionadas


También te puede interesar