Extracción de Contenido Web API

La API de Extracción de Contenido Web extrae contenido principal y metadatos de artículos de noticias y blogs de manera fácil, proporcionando datos estructurados para análisis o integración en aplicaciones.

Acerca de la API: 

Con la API de Extracción de Contenido Web de Artículos, acceder al contenido principal y los metadatos de publicaciones de noticias o blogs se vuelve simple y eficiente. Diseñada para capturar la información esencial de un artículo, esta API permite obtener el texto principal, el título, el autor, la fecha de publicación y otros datos clave de una URL dada. Ideal para usuarios que necesitan integrar contenido en sus aplicaciones sin lidiar con la complejidad de un proceso de extracción manual, esta API proporciona respuestas JSON bien estructuradas. Las aplicaciones pueden utilizar los datos para múltiples propósitos, como análisis de contenido, creación de resúmenes automáticos o estudios de opinión pública en redes sociales. La API es compatible con sitios de noticias y blogs populares, lo que la convierte en una herramienta confiable para aquellos que buscan optimizar sus flujos de trabajo con datos actualizados y fácilmente accesibles.

Documentación de la API

Endpoints


Envía una solicitud GET con el parámetro de url para recibir el contenido principal y los metadatos de un artículo. La respuesta devuelve datos en JSON estructurado.



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

Contenido del artículo. - 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 Extracción de Contenido Web 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

Extracción de Contenido Web API FAQs

Envíe la URL del artículo a analizar como un parámetro para obtener el contenido principal y los metadatos.

La Extracción de Contenido Web es una API que extrae contenido y metadatos de artículos de noticias y blogs en un formato estructurado.

Recibe una URL de artículo y devuelve el contenido principal, título, autor y otros metadatos en JSON.

Crea resúmenes automáticos de noticias y blogs. Recopila datos para análisis de contenido. Monitorea noticias y blogs para análisis de opinión pública.

190 solicitudes por minuto en todos los planes.

Hay diferentes planes que se adaptan a todos, incluyendo una prueba gratuita para un pequeño número de solicitudes, pero su tasa está limitada para prevenir el abuso del servicio.

La API utiliza claves de API para la autenticación. Para acceder a la API, incluya su clave de API en el encabezado de la solicitud. La clave de API se proporciona al registrarse y debe mantenerse segura.

La API devuelve información detallada sobre la edad y la historia de un dominio, incluyendo años, meses y días desde su creación, así como fechas de expiración y actualización.

El endpoint de Contenido del Artículo devuelve datos estructurados que incluyen el texto principal, título, autor, fecha de publicación, descripción, enlaces e imágenes asociadas con el artículo.

Los campos clave en los datos de respuesta incluyen "url," "título," "descripción," "enlaces," y "imagen," que proporcionan información esencial sobre el artículo.

Los datos de la respuesta están organizados en un formato JSON, con la información de cada artículo encapsulada en un objeto que contiene campos relevantes para un fácil acceso e integración.

El punto final proporciona información como el contenido principal del artículo, título, autor, fecha de publicación y medios asociados, lo que lo hace adecuado para diversos propósitos analíticos.

Los usuarios pueden personalizar sus solicitudes especificando la URL del artículo que desean analizar, lo que permite una extracción dirigida de contenido y metadatos.

Los datos provienen de sitios de noticias y blogs populares, asegurando una amplia gama de contenido actual y relevante para los usuarios.

La precisión de los datos se mantiene a través de procesos de extracción automatizados que se actualizan regularmente para adaptarse a los cambios en las estructuras de los sitios web y los formatos de contenido.

Los casos de uso típicos incluyen el análisis de contenido, la resumación automática de artículos y el monitoreo de tendencias de opinión pública basado en el contenido de noticias y blogs.

General FAQs

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.

 Nivel de Servicio
100%
 Tiempo de Respuesta
2,381ms

Categoría:


APIs Relacionadas


También te puede interesar